if {[info exists __SMARTLIB_TCL__] == 0 && [info exists __ET1000_TCL__] == 0} then {
set __SMARTLIB_TCL__ 1
set NSTclFile "smartlib.tcl"

set env(ET1000tty) "/dev/ttya"
#load /usr/local/lib/libtclStruct.so struct
#load /usr/local/lib/tclet100.so tclet1000
load /usr/local/smartbits/smartlib/lib/libtclStruct.so struct
load /usr/local/smartbits/smartlib/lib/tclet100.so tclet1000

set _WANITEMS_H_ 1
set WAN_DS3_SHORT_BUILDOUT 0
set WAN_DS3_LONG_BUILDOUT 1
set WAN_DS1_0_TO_133_BUILDOUT 2
set WAN_DS1_133_TO_266_BUILDOUT 3
set WAN_DS1_266_TO_399_BUILDOUT 4
set WAN_DS1_399_TO_533_BUILDOUT 5
set WAN_DS1_533_TO_655_BUILDOUT 6
set WAN_DS1_N7X5_DB_BUILDOUT 7
set WAN_DS1_N15_DB_BUILDOUT 8
set WAN_DS1_N22X5_DB_BUILDOUT 9
set WAN_E1_BUILDOUT 20
set WAN_DS1_AMI_ENCODING 0
set WAN_DS1_B8ZS_ENCODING 1
set WAN_DS1_D4_LINE_FRAMING 0
set WAN_DS1_ESF_LINE_FRAMING 1
set WAN_E1_AMI_ENCODING 0
set WAN_E1_HDB3_ENCODING 1
set WAN_DS1_E1_LOCD_ALARM 0x0001
set WAN_DS1_E1_OOF_ALARM 0x0002
set WAN_DS1_E1_LOS_ALARM 0x0004
set WAN_DS1_E1_YELLOW_ALARM 0x0008
set WAN_DS1_E1_AIS_ALARM 0x0010
set WAN_DS1_E1_B8ZS_ALARM 0x0020
set WAN_DS1_E1_EXCESS_ZEROS_ALARM 0x0040
set WAN_DS1_E1_PLCP_OOF_ALARM 0x0080
set WAN_DS1_E1_PLCP_LOF_ALARM 0x0100
set WAN_DS1_E1_PLCP_YELLOW_ALARM 0x0200
set WAN_DS1_E1_SEV_ERROR_FRAME_ALARM 0x0400
set _STREAM_ITEMS_H_ 1
set NS_DEFINE_SMARTBITS_STREAM 0x1000
set NS_DEFINE_802_3_STREAM 0x1001
set NS_DEFINE_IP_STREAM 0x1002
set NS_DEFINE_IPX_STREAM 0x1003
set NS_DEFINE_UDP_STREAM 0x1004
set NS_DEFINE_ARP_STREAM 0x1006
set NS_DEFINE_TCP_STREAM 0x1008
set NS_DEFINE_IP_STREAM_VLAN 0x1009
set NS_DEFINE_UDP_STREAM_VLAN 0x1007
set NS_DEFINE_TCP_STREAM_VLAN 0x1051
set NS_DEFINE_SMART_TCP_STREAM 0x1056
set NS_DEFINE_ICMP_STREAM 0x1059
set NS_DEFINE_STREAM_EXTENSION 0x1062
set NS_DEFINE_RTP_STREAM 0x1065
set NS_DEFINE_RTP_STREAM_VLAN 0x1068
set NS_DEFINE_SMARTBITS_128_STREAM 0x1072
set NS_DEFINE_VFD 0x106D
set NS_DEFINE_STREAM_MPLS 0x106B
set NS_DEFINE_MPLS 0x1070
set NS_MOD_MPLS 0x1071
set NS_DEFINE_MULTI_SMARTBITS_STREAM 0x1010
set NS_DEFINE_MULTI_802_3_STREAM 0x1011
set NS_DEFINE_MULTI_IP_STREAM 0x1012
set NS_DEFINE_MULTI_IPX_STREAM 0x1013
set NS_DEFINE_MULTI_UDP_STREAM 0x1014
set NS_DEFINE_MULTI_ARP_STREAM 0x1016
set NS_DEFINE_MULTI_TCP_STREAM 0x1018
set NS_DEFINE_MULTI_IP_STREAM_VLAN 0x1019
set NS_DEFINE_MULTI_UDP_STREAM_VLAN 0x1020
set NS_DEFINE_MULTI_TCP_STREAM_VLAN 0x1052
set NS_DEFINE_MULTI_SMART_TCP_STREAM 0x1055
set NS_DEFINE_MULTI_ICMP_STREAM 0x1060
set NS_DEFINE_MULTI_STREAM_EXTENSION 0x1063
set NS_DEFINE_MULTI_RTP_STREAM 0x1066
set NS_DEFINE_MULTI_RTP_STREAM_VLAN 0x1069
set NS_DEFINE_MULTI_VFD 0x106E
set NS_DEFINE_MULTI_SMARTBITS_128_STREAM 0x1073
set NS_DUP_STREAM 0x1021
set NS_MOD_UDP_STREAM_VLAN 0x1028
set NS_MOD_IP_STREAM_VLAN 0x1029
set NS_MOD_SMARTBITS_STREAM 0x1030
set NS_MOD_SMARTBITS_128_STREAM 0x1039
set NS_MOD_802_3_STREAM 0x1031
set NS_MOD_IP_STREAM 0x1032
set NS_MOD_IPX_STREAM 0x1033
set NS_MOD_UDP_STREAM 0x1034
set NS_MOD_ARP_STREAM 0x1036
set NS_MOD_TCP_STREAM 0x1038
set NS_MOD_TCP_STREAM_VLAN 0x1053
set NS_MOD_SMART_TCP_STREAM 0x1054
set NS_MOD_ICMP_STREAM 0x1061
set NS_MOD_STREAM_EXTENSION 0x1064
set NS_MOD_RTP_STREAM 0x1067
set NS_MOD_RTP_STREAM_VLAN 0x106A
set NS_MOD_SMARTBITS_STREAMS 0x1080
set NS_MOD_802_3_STREAMS 0x1081
set NS_MOD_IP_STREAMS 0x1082
set NS_MOD_IPX_STREAMS 0x1083
set NS_MOD_UDP_STREAMS 0x1084
set NS_MOD_TCP_STREAMS 0x1085
set NS_MOD_SMART_TCP_STREAMS 0x1086
set NS_MOD_ICMP_STREAMS 0x1087
set NS_MOD_RTP_STREAMS 0x1088
set NS_MOD_UDPDHCP_STREAMS 0x1089
set NS_MOD_IP_STREAMS_VLAN 0x108A
set NS_MOD_UDP_STREAMS_VLAN 0x108B
set NS_MOD_TCP_STREAMS_VLAN 0x108C
set NS_MOD_RTP_STREAMS_VLAN 0x108D
set NS_MOD_VFD 0x106F
set NS_MOD_STREAMS_DELTA 0x1040
set NS_MOD_STREAMS_ARRAY 0x1050
set NS_VOICE_TEST_SETUP 0x106C
set NS_TX_ADDRESS 0x1701
set NS_STREAM_COUNT_INFO 0x1500
set NS_STREAM_TYPE_INFO 0x1501
set NS_SMARTBITS_STREAM_INFO 0x1508
set NS_802_3_STREAM_INFO 0x1511
set NS_IP_STREAM_INFO 0x1512
set NS_IPX_STREAM_INFO 0x1513
set NS_UDP_STREAM_INFO 0x1514
set NS_ARP_STREAM_INFO 0x1516
set NS_TCP_STREAM_INFO 0x1518
set NS_RTP_COUNTER_INFO 0x1519
set NS_V2_STREAM_INFO 0x1550
set NS_VFD_INFO 0x1551
set NS_TX_ADDRESS_INFO 0x1700
set NS_ARP_TIMES_INFO 0x1800
set NS_STREAM_EXTENSION_INFO 0x0720
set NS_DELETE_STREAM 0x1801
set NS_SET_STREAM_STATE 0x1802
set NS_ARP_UNRESOLVED 0x1803
set NS_ARP_ONE_STREAM 0x1804
set NS_SET_START_STREAM 0x1805
set NS_SET_ARP_GAP 0x1806
set NS_ENABLE_TAGS_ALL_STREAMS 0x1807
set NS_DISABLE_TAGS_ALL_STREAMS 0x1808
set NS_ENABLE_TAG 0x1809
set NS_DISABLE_TAG 0x180A
set NS_HIST_ACTIVE_TEST_INFO 0x3000
set NS_HIST_LATENCY_PRECISION_INFO 0x3001
set NS_HIST_SEQUENCE_INFO 0x3002
set NS_HIST_LATENCY_INFO 0x3003
set NS_HIST_LATENCY_PER_STREAM_INFO 0x3004
set NS_HIST_V1_LATENCY_PER_STREAM_INFO 0x3010
set NS_HIST_LATENCY_DISTRIBUTION_INFO 0x3005
set NS_HIST_RAW_TAGS_INFO 0x3006
set NS_HIST_V2_LATENCY_INFO 0x3007
set NS_HIST_V2_LATENCY_PER_STREAM_INFO 0x3008
set NS_HIST_MC_LATENCY_PER_STREAM_INFO 0x3009
set NS_HIST_JITTER_COMBO_INFO 0x300A
set NS_HIST_TCP_CONNECTION_INFO 0x300B
set NS_HIST_V3_LATENCY_DISTRIBUTION_INFO 0x300C
set NS_HIST_V3_LATENCY_INFO 0x300D
set NS_HIST_V3_LATENCY_PER_STREAM_INFO 0x300E
set NS_HIST_V3_SEQUENCE_INFO 0x300F
set NS_HIST_ACTIVE_TEST_EXPRESS_INFO 0x3050
set NS_HIST_SEQUENCE_EXPRESS_INFO 0x3052
set NS_HIST_SUMMARY_INFO 0x3100
set NS_AGGREGATE_INFO $NS_HIST_SUMMARY_INFO
set NS_AGGR_LATENCY_PRECISION_INFO 0x3101
set NS_AGGR_SEQUENCE_INFO 0x3102
set NS_AGGR_LATENCY_INFO 0x3103
set NS_AGGR_LATENCY_PER_STREAM_INFO 0x3104
set NS_AGGR_LATENCY_DISTRIBUTION_INFO 0x3105
set NS_AGGR_RAW_TAGS_INFO 0x3106
set NS_AGGR_V2_LATENCY_INFO 0x3107
set NS_AGGR_V2_LATENCY_PER_STREAM_INFO 0x3108
set NS_AGGR_MC_LATENCY_PER_STREAM_INFO 0x3109
set NS_CAPTURE_PACKET_INFO 0x2001
set NS_CAPTURE_PACKET_DATA_INFO 0x2002
set NS_CAPTURE_DETAIL_INFO 0x2003
set NS_CAPTURE_STATS_INFO 0x2004
set NS_CAPTURE_DATA_INFO 0x2005
set NS_CAPTURE_OFF_TYPE 0x2010
set NS_CAPTURE_ALL_TYPE 0x2011
set NS_CAPTURE_BAD_TYPE 0x2012
set NS_CAPTURE_SPECIAL_TYPE 0x2013
set NS_CAPTURE_TRIGGERS_TYPE 0x2014
set NS_HIST_START 0x3200
set NS_HIST_SEQUENCE 0x3201
set NS_HIST_LATENCY 0x3202
set NS_HIST_LATENCY_PER_STREAM 0x3203
set NS_HIST_V1_LATENCY_PER_STREAM 0x3211
set NS_HIST_LATENCY_DISTRIBUTION 0x3204
set NS_HIST_RAW_TAGS 0x3205
set NS_HIST_V2_LATENCY 0x3206
set NS_HIST_V2_LATENCY_PER_STREAM 0x3207
set NS_HIST_LATENCY_PRECISION 0x3208
set NS_HIST_MULTICAST_LATENCY 0x3209
set NS_MULTICAST_COUNTER_INFO 0x3210
set NS_HIST_V2_LATENCY_DISTRIBUTION 0x3212
set NS_HIST_JITTER_COMBO 0x3213
set NS_HIST_TCP_CONNECTION 0x3214
set NS_HIST_ACTIVE_TEST_PREP 0x3250
set NS_HIST_SEQUENCE_PREP 0x3251
set NS_START_ARPS 0x4000
set NS_USB_MODE_ON 0x8000
set NS_USB_MODE_OFF 0x8001
set NS_USB_GET_USB_INFO 0x8002
set NS_USB_SET_POWER 0x8003
set NS_RNDIS_MODE_ON 0x8500
set NS_ETHERNET_MODE_ON 0x8501
set NS_GROUP_DELETE_GROUP 0x7100
set NS_GROUP_SET_GROUP 0x7101
set NS_STREAM_GROUP_DEFINE 0x7102
set NS_STREAM_GROUP_DELETE 0x7103
set NS_STREAM_TRANSMIT_MODE 0x7104
set NS_STREAM_TRANSMIT_MODE_INFO 0x7105
set NS_DHCP_GET_ADDRESS 0x8700
set NS_DHCP_GET_ADDRESS_ALL 0x8701
set NS_DHCP_RELEASE_ADDRESS 0x8702
set NS_DHCP_RELEASE_ADDRESS_ALL 0x8703
set NS_DHCP_STATS_INFO 0x8704
set NS_DHCP_HOST_INFO 0x8705
set NS_DHCP_EXTENDED_HOST_INFO 0x8706
set NS_DHCP_ACTION 0x8707
set NS_DHCP_STATE 0x8708
set NS_DHCP_STREAM_COUNT_INFO 0x8709
set NS_DHCP_CONFIG 0x870A
set STREAM_PROTOCOL_SMARTBITS 0
set STREAM_PROTOCOL_8023 1
set STREAM_PROTOCOL_IP 2
set STREAM_PROTOCOL_IPX 3
set STREAM_PROTOCOL_UDP 4
set STREAM_PROTOCOL_ARP 5
set STREAM_PROTOCOL_IP_VLAN 6
set STREAM_PROTOCOL_UDP_VLAN 7
set STREAM_PROTOCOL_SMART_TCP 8
set STREAM_PROTOCOL_ICMP 9
set STREAM_PROTOCOL_TCP_VLAN 10
set STREAM_PROTOCOL_TCP 11
set STREAM_PROTOCOL_PPP 12
set STREAM_PROTOCOL_RTP 13
set STREAM_PROTOCOL_RTP_VLAN 14
set STREAM_PROTOCOL_FC 15
set TCP_FLAG_FIN 0x01
set TCP_FLAG_SYN 0x02
set TCP_FLAG_RST 0x04
set TCP_FLAG_PSH 0x08
set TCP_FLAG_ACK 0x10
set TCP_FLAG_URG 0x20
set RTP_PAYLOAD_G711U 0
set RTP_PAYLOAD_G723_1 4
set RTP_PAYLOAD_G711A 8
set RTP_PAYLOAD_G729 18
set NS_HIST_LATENCY_PER_STREAM_INFO_32 $NS_HIST_V1_LATENCY_PER_STREAM_INFO
set NS_HIST_LATENCY_PER_STREAM_32 $NS_HIST_V1_LATENCY_PER_STREAM
set NS_DEFINE_UDPDHCP_STREAM 0x1005
set NS_DEFINE_MULTI_UDPDHCP_STREAM 0x1015
set NS_MOD_UDPDHCP_STREAM 0x1035
set NS_UDPDHCP_STREAM_INFO 0x1515
set STREAM_PROTOCOL_UDPDHCP 99
set _MPLSITEMS_H_ 1
set MPLS_BASE_NUM 0x9800
set MPLS_START [expr ($MPLS_BASE_NUM+2)]
set MPLS_LSP_NOT_COMPLETE [expr ($MPLS_BASE_NUM+3)]
set MPLS_ROUTING_DOMAIN_CREATE [expr ($MPLS_BASE_NUM+5)]
set MPLS_ROUTING_DOMAIN_DELETE_ALL [expr ($MPLS_BASE_NUM+6)]
set MPLS_LSP_CREATE [expr ($MPLS_BASE_NUM+8)]
set MPLS_CREATE_SINGLE_LSP [expr ($MPLS_BASE_NUM+9)]
set MPLS_LSP_DELETE_ALL [expr ($MPLS_BASE_NUM+10)]
set MPLS_SERVICE_OBJECT_CREATE [expr ($MPLS_BASE_NUM+13)]
set MPLS_OPAQUE_OBJECT_CREATE [expr ($MPLS_BASE_NUM+14)]
set MPLS_ATTRIBUTE_OBJECT_CREATE [expr ($MPLS_BASE_NUM+15)]
set MPLS_EXPLICIT_ROUTE_OBJECT_CREATE [expr ($MPLS_BASE_NUM+17)]
set MPLS_LSP_COPY_DELTA [expr ($MPLS_BASE_NUM+18)]
set MPLS_LABEL_DATA_INFO [expr ($MPLS_BASE_NUM+19)]
set MPLS_RSVP_COUNT_INFO [expr ($MPLS_BASE_NUM+20)]
set MPLS_LSP_INFO [expr ($MPLS_BASE_NUM+21)]
set MPLS_LSP_BIND_STREAMS [expr ($MPLS_BASE_NUM+22)]
set MPLS_OBJECT_DELETE [expr ($MPLS_BASE_NUM+23)]
set MPLS_LSP_COUNT_INFO [expr ($MPLS_BASE_NUM+25)]
set MPLS_LDP_TEST [expr ($MPLS_BASE_NUM+26)]
set MPLS_RSVP_UDP_ENABLE 0x00000001
set MPLS_RSVP_REFRESH_REDUCTION_CAPABLE 0x00000002
set MPLS_RSVP_INTERFACE_LABEL 0x00000004
set MPLS_RSVP_PHP_ENABLE 0x00000008
set MAX_OBJECTS 10
set MPLS_EXPLICIT_ROUTE_OBJECT 0
set MPLS_SERVICE_OBJECT 1
set MPLS_OPAQUE_OBJECT 3
set MPLS_ATTRIBUTE_OBJECT 4
set MPLS_FILTER_OBJECT 5
set MPLS_RSVP_SERVICE_COS_OBJECT 1
set MPLS_RSVP_SERVICE_CONTROLLED_LOAD_OBJECT 2
set MPLS_RSVP_SERVICE_GUARANTEED_OBJECT 3
set MPLS_RSVP_OPAQUE 1
set MAX_OBJ_BUFF_SIZE 100
set MPLS_RSVP_ATTRIBUTE 1
set MPLS_EXPLICIT_ROUTE_IPV4 0x0001
set MPLS_EXPLICIT_ROUTE_IPV6 0x0002
set MPLS_EXPLICIT_ROUTE_AS 0x0003
set MPLS_EXPLICIT_ROUTE_LSP_ID 0x0004
set MPLS_LSP_NOT_INITIALIZED 0x1
set MPLS_LSP_INITIALIZED 0x2
set MPLS_LSP_SINGNALING 0x3
set MPLS_LSP_ESTABLISHED 0x4
set MPLS_LSP_TOREDOWN 0x5
set _NSITEMS_H_ 1
set MAX_SCHED_ENTRIES 2048
set NS_BASE_NUM 0x9999
set NS_PORT_TRANSMIT 0x500B
set NS_STREAM_SCHEDULE 0x500C
set NS_DIFF_SERV 0x500D
set NS_CREATE_SUBPROCESS 0x500E
set NS_DESTROY_SUBPROCESS 0x500F
set NS_WRITE_SUBPROCESS 0x502A
set NS_SIGNAL_SUBPROCESS 0x502B
set NS_HIST_RAW_SIGNATURE 0x3020
set NS_HIST_COMBO_PER_STREAM 0x3021
set NS_HIST_LATENCY_OVER_TIME 0x3022
set NS_HIST_SEQUENCE_PER_STREAM 0x3023
set NS_HIST_LATENCY_DIST_PER_STREAM 0x3024
set NS_IGMP_RESET 0x7015
set NS_IGMP_CONFIG 0x7016
set NS_IGMP_JOIN 0x7017
set NS_IGMP_LEAVE 0x7018
set NS_IGMP_JOIN_VLAN 0x7023
set NS_HIST_MULTICAST_LATENCY_PER_STREAM 0x3252
set NS_STREAM_SCHEDULE_INFO 0x5024
set NS_STREAM_SCHEDULE_COUNT_INFO 0x5025
set NS_DIFF_SERV_INFO 0x5026
set NS_DIFF_SERV_COUNTER_INFO 0x5027
set NS_QUERY_SUBPROCESS 0x5028
set NS_READ_SUBPROCESS 0x5029
set NS_FFS_INFO 0x5030
set NS_RPM_LIST_INFO 0x5031
set NS_PORT_TRANSMIT_INFO 0xD001
set NS_HIST_RAW_SIGNATURE_INFO 0x3025
set NS_HIST_COMBO_PER_STREAM_INFO 0x3026
set NS_HIST_LATENCY_OVER_TIME_INFO 0x3027
set NS_HIST_SEQUENCE_PER_STREAM_INFO 0x3028
set NS_HIST_LATENCY_DIST_PER_STREAM_INFO 0x3029
set NS_IGMP_TIMESTAMP_INFO 0x7019
set NS_IGMP_COUNTER_INFO 0x7022
set NS_HIST_MULTICAST_LATENCY_PER_STREAM_INFO 0x3011
set NS_SONET_COUNTER_INFO [expr ($NS_BASE_NUM+1)]
set NS_CAPTURE_SETUP [expr ($NS_BASE_NUM+2)]
set NS_PORT_ADDRESS [expr ($NS_BASE_NUM+3)]
set NS_PORT_ADDRESS_INFO [expr ($NS_BASE_NUM+4)]
set NS_SONET_CONFIG [expr ($NS_BASE_NUM+5)]
set NS_SONET_CONFIG_INFO [expr ($NS_BASE_NUM+7)]
set NS_CAPTURE_COUNT_INFO [expr ($NS_BASE_NUM+9)]
set NS_HW_CONFIG [expr ($NS_BASE_NUM+10)]
set NS_HW_CONFIG_INFO [expr ($NS_BASE_NUM+11)]
set NS_CARD_HARDWARE_INFO [expr ($NS_BASE_NUM+12)]
set NS_CAPTURE_STOP [expr ($NS_BASE_NUM+13)]
set NS_CAPTURE_START [expr ($NS_BASE_NUM+14)]
set AT_SPEED_OC3 0
set AT_SPEED_OC12 1
set AT_SONET_FRAMING 0
set AT_SDH_FRAMING 1
set AT_INTERNAL_CLOCK 0
set AT_LOOP_TIMED_CLOCK 1
set AT_PATH_SIGNAL_LABEL_ATM 0x13
set AT_PATH_SIGNAL_LABEL_PPP 0x16
set AT_PATH_SIGNAL_LABEL_HDLC 0xcf
set AT_SONET_CELL_HEC_ALARM 0x0001
set AT_SONET_PATH_RDI_ALARM 0x0002
set AT_SONET_PATH_AIS_ALARM 0x0004
set AT_SONET_PATH_BIP_ALARM 0x0008
set AT_SONET_LINE_RDI_ALARM 0x0010
set AT_SONET_LINE_AIS_ALARM 0x0020
set AT_SONET_LINE_BIP_ALARM 0x0040
set AT_SONET_SECTION_LOS_ALARM 0x0080
set AT_SONET_SECTION_LOF_ALARM 0x0100
set AT_SONET_SECTION_BIP_ALARM 0x0200
set AT_SECTION_LOS_ALARM 0x0001
set AT_SECTION_OOF_ALARM 0x0002
set AT_SECTION_LOF_ALARM 0x0004
set AT_LINE_AIS_ALARM 0x0008
set AT_LINE_FERF_ALARM 0x0010
set AT_LINE_LOP_ALARM 0x0020
set AT_PATH_AIS_ALARM 0x0040
set AT_PATH_FERF_ALARM 0x0080
set AT_PATH_YELLOW_ALARM 0x0100
set AT_LOCD_ALARM 0x0200
set MAX_10GIG_DATA_BUFFER 1920
set NS_CAPTURE_STATUS_UNDERSIZE 0x00000001
set NS_CAPTURE_STATUS_OVERSIZE 0x00000002
set NS_CAPTURE_STATUS_TRIGGER 0x00000004
set NS_CAPTURE_STATUS_CRC_ERROR 0x00000008
set NS_CAPTURE_STATUS_RUN_DISPARITY 0x00000010
set NS_CAPTURE_STATUS_DATA_INTEGRITY_ERROR 0x00000040
set NS_CAPTURE_STATUS_IP_CHECKSUM_ERROR 0x00000080
set NS_CAPTURE_STATUS_VLAN 0x00000100
set NS_CAPTURE_STATUS_ALIGNMENT_ERROR 0x00000200
set NS_CAPTURE_STATUS_SIGNATURE 0x00000400
set NS_CAPTURE_STATUS_DATA_INTEGRITY_MARKER 0x00000800
set MAX_VERSION_STRING 32
set NS_VERSION_UNRELEASED 0
set NS_VERSION_RELEASED 1
set MAX_ERROR_STRING 45
set MAX_ERRORS 10
set TIMESTAMP_CLOCK_SOURCE_10_MHZ 0
set TIMESTAMP_CLOCK_SOURCE_40_MHZ 1
set LASER_ENABLE 1
set LASER_DISABLE 0
set _FCITEMS_H_ 1
set FC_CARD_BASE 0x3500
set FC_PORT_CONFIG [expr ($FC_CARD_BASE+0x01)]
set FC_PORT_CONFIG_INFO [expr ($FC_CARD_BASE+0x02)]
set FC_COUNTER_INFO [expr ($FC_CARD_BASE+0x05)]
set FC_STATUS_INFO [expr ($FC_CARD_BASE+0x08)]
set FC_LINKUP [expr ($FC_CARD_BASE+0x09)]
set FC_WWN_LOGIN [expr ($FC_CARD_BASE+0x0A)]
set FC_PUBLIC_DISCOVERY [expr ($FC_CARD_BASE+0x0B)]
set FC_PRIVATE_DISCOVERY [expr ($FC_CARD_BASE+0x0C)]
set FC_COMMIT [expr ($FC_CARD_BASE+0x0D)]
set FC_WWN_COUNT_INFO [expr ($FC_CARD_BASE+0x10)]
set FC_DEFINE_HEADER [expr ($FC_CARD_BASE+0x11)]
set FC_DEFINE_HEADER_INFO [expr ($FC_CARD_BASE+0x13)]
set FC_WWN_INFO [expr ($FC_CARD_BASE+0x14)]
set FC_WWN [expr ($FC_CARD_BASE+0x15)]
set FC_DEFINE_STREAM [expr ($FC_CARD_BASE+0x16)]
set FC_MAX_DEVICES 1000
set TOPOLOGY_PT_2_PT 0
set TOPOLOGY_LOOP 1
set PORT_LINK_DOWN 0x001
set PORT_LINK_INITIALIZING 0x002
set PORT_LINK_UP 0x004
set PORT_DEVICE_LOGIN 0x008
set PORT_DEVICE_LOGIN_COMPLETE 0x010
set PORT_PUBLIC_DISCOVERY 0x020
set PORT_PUBLIC_DISCOVERY_COMPLETE 0x040
set PORT_PRIVATE_DISCOVERY 0x080
set PORT_PRIVATE_DISCOVERY_COMPLETE 0x100
set PORT_READY_TO_TEST 0x200
set PORT_LOSS_OF_SYNC 0x01
set PORT_LOSS_OF_SIGNAL 0x02
set PORT_LINK_RESET 0x04
set PORT_TX_FAULT 0x08
set PORT_FABRIC_LOGIN_ERROR 0x10
set PORT_PORT_LOGIN_ERROR 0x20
set PORT_NAME_SERVER_ERROR 0x40
set PORT_INVALID_STATE_ERROR 0x80
set NO_REASON_CODE 0
set INVALID_LS_CMD 1
set LOGICAL_ERROR 2
set LOGICAL_INVALID_IU_SIZE 3
set LOGICAL_BUSY 4
set PROTOCOL_ERROR 5
set UNABLE_TO_PERFORM_CMD 6
set CMD_NOT_SUPPORTED 7
set TIMEOUT 8
set COS2_UNSUPPORTED 9
set COS3_UNSUPPORTED 10
set NO_ADDITIONAL_EXPLANATION 0
set SERVICE_PARM_OPTIONS 1
set SERVICE_PARM_INIT_CTRL 2
set SERVICE_PARM_RECP_CTRL 3
set SERVICE_PARM_RCV_SIZE 4
set SERVICE_PARM_CONCURRENT_SEQS 5
set SERVICE_PARM_CREDIT 6
set INVALID_PORT_NAME 7
set INVALID_NODE_OR_FABRIC_NAME 8
set INVALID_COMMON_SERVICE_PARMS 9
set CMD_ALREADY_IN_PROGRESS 10
set OUT_OF_RESOURCES 11
set PORT_IDENTIFIER_NOT_REGISTERED 12
set PORT_NAME_NOT_REGISTERED 13
set NODE_NAME_NOT_REGISTERED 14
set COS_NOT_REGISTERED 15
set IP_ADDRESS_NOT_REGISTERED 16
set INITIAL_PROCESS_ASSOCIATOR_NOT_REGISTERED 17
set FC_4_TYPES_NOT_REGISTERED 18
set SYMBOLIC_PORT_NAME_NOT_REGISTERED 19
set SYBOLIC_NODE_NAME_NOT_REGISTERED 20
set PORT_TYPE_NOT_REGISTERED 21
set PORT_IP_ADDRESS_NOT_REGISTERED 22
set FABRIC_PORT_NAME_NOT_REGISTERED 23
set HARD_ADDRESS_NOT_REGISTERED 24
set ACCESS_DENIED 25
set UNACCEPTABLE_PORT_IDENTIFIER 26
set DATA_BASE_EMPTY 27
set NO_OBJECT_REGISTERED_IN_SCOPE 28
set FC_STREAM_COS_NONE 0x0
set FC_STREAM_COS_2 0x2
set FC_STREAM_COS_3 0x3
set CLASS_OF_SERVICE_NOT_VALID 0
set CLASS_OF_SERVICE_3 0x1
set CLASS_OF_SERVICE_2 0x2
set PUBLIC_MODE 1
set PRIVATE_MODE 0
set REMOTE_MODE 1
set LOCAL_MODE 0
set _PPPITEMS_H_ 1
set MAX_DELTA 32
set MAX_ARRAY_DIM 2048
set PPP_CONFIG 0x5201
set PPP_SET_CTRL 0x5202
set PPP_STATS_INFO 0x5203
set PPP_STATUS_INFO 0x5204
set PPP_PARAMS_COPY 0x5205
set PPP_PARAMS_FILL 0x5206
set PPP_PARAMS_MODIFY 0x5207
set PPP_CONFIG_INFO 0x5208
set PPP_OE_STATS_INFO 0x5209
set PPP_OE_SESSION_START 0x5210
set PPP_OE_SESSION_STOP 0x5211
set PPP_DEL_SESSION 0x5212
set PPP_DEL_ALL 0x5213
set PPP_STATUS_SEARCH_INFO 0x5214
set PPP_CONFIG_QUERY 0x5215
set PPP_STATS_QUERY 0x5216
set PPP_STATS_RESET 0x5217
set PPP_STATUS_QUERY 0x5218
set PPP_DELETE 0x5219
set PPP_DELETE_ALL 0x5220
set PPPO_MRU 0x0001
set PPPO_USECHAPAUTH 0x0010
set PPPO_USEPAPAUTH 0x0020
set PPPO_USEMAGIC 0x0080
set PPPO_USENONE 0x0000
set PPP_CHAPMD5 0x05
set PPP_CHAPMS 0x80
set PPP_CONFIGURE_MRU 1500
set PPP_CONFIGURE_MAXFAILURE 5
set PPP_CONFIGURE_MAXCONFIGURE 10
set PPP_CONFIGURE_MAXTERMINATE 2
set PPP_CONFIGURE_MAGICNUMBER 2
set PPP_CONFIGURE_ECHOFREQ 1
set PPP_CONFIGURE_ECHOERRFREQ 0
set PPP_OE_CLIENT 0x01
set PPP_OE_SERVER 0x02
set PPP_OE_SELECT_AC_BY_SVCNAME 0x0001
set PPP_OE_SELECT_AC_BY_ACNAME 0x0002
set PPP_OE_USE_ZEROLEN_SVCNAME 0x0004
set PPP_OE_OFFER_AVAILABLE_SERVICE 0x0010
set PPP_OE_USE_DOUBLE_TIMEOUT 0x1000
set PPP_OE_EOL_TAG 0x0008
set PPP_OE_IGNORE_EOL_TAG 0x0020
set PPP_NO_ACTION 0
set PPP_OPEN_LCP 1
set PPP_CLOSE_LCP 2
set PPP_ECHO_START 3
set PPP_ECHO_STOP 4
set PPP_START 5
set PPP_STOP 6
set PPP_RESET 7
set PPP_LCP_UP 0
set PPP_LCP_DOWN 1
set PPP_LCP_AUTHENTICATING 2
set PPP_NCP_UP 0
set PPP_NCP_DOWN 1
set LCP_CLOSE_REASON_UNKNOWN 0x00
set LCP_CLOSE_AUTH_FAILURE_NO_RSP 0x01
set LCP_CLOSE_AUTH_FAILURE_LOCAL_REJ 0x02
set LCP_CLOSE_AUTH_FAILURE_PEER_REJ 0x03
set LCP_CONFIG_FAILURE 0x04
set LCP_CONFIG_TIMEOUT 0x05
set NCP_CONFIG_FAILURE 0x06
set NCP_CONFIG_TIMEOUT 0x07
set NO_FAILURE 0x08
set PPP_OE_TIMEOUT_NO_RSP 0x09
set PPP_OE_GEN_ERR 0x0A
set PPP_OE_SVC_ERR 0x0B
set PPP_OE_AC_ERR 0x0C
set PPP_OE_NO_AC 0x0D
set PPP_OE_INACTIVE 0
set PPP_OE_STARTED 1
set PPP_OE_PADO_SENT 2
set PPP_OE_PADR_SENT 3
set PPP_OE_SESSION_STATE 4
set PPP_REQUESTED_OPTIONS 0
set PPP_REQUIRED_OPTIONS 1
set PPP_ACCEPTABLE_OPTIONS 2
set PPP_MAX_FAILURE 3
set PPP_MAX_CONFIGURE 4
set PPP_MAX_TERMINATE 5
set PPP_LOCAL_AUTH_ID 6
set PPP_LOCAL_AUTH_PW 7
set PPP_PEER_AUTH_ID 8
set PPP_PEER_AUTH_PW 9
set PPP_CHAP_ALGORITHM 10
set PPP_IP_ENABLE 11
set PPP_NEGOTIATE_IP 12
set PPP_LOCAL_IPADDR 13
set PPP_PEER_IPADDR 14
set PPP_IPX_ENABLE 15
set PPP_IPX_NET 16
set PPP_IPX_NODE 17
set PPP_IPX_COMPRESS 18
set PPP_IPX_ROUTING 19
set PPP_RESTART_TIMER 20
set PPP_MRU 21
set PPP_MAGICNUMBER 22
set PPP_OE_MOD_FRAME 23
set PPP_OE_MODE 24
set PPP_OE_RETRYTIMER 25
set PPP_OE_RETRY 26
set PPP_OE_OPTIONS 27
set PPP_OE_SOURCEMAC 28
set PPP_OE_DESTMAC 29
set PPP_OE_SERVICENAME 30
set PPP_OE_ACNAME 31
set PPP_STATUS_STREAM_INDEX 0
set PPP_STATUS_LCP_STATE 1
set PPP_STATUS_IPCP_STATE 2
set PPP_STATUS_IPXCP_STATE 3
set PPP_STATUS_FAILURE_CODE 4
set PPP_STATUS_LOCAL_MAGICNUMBER 5
set PPP_STATUS_LOCAL_IPADDR 6
set PPP_STATUS_PEER_IPADDR 7
set PPP_STATUS_WEGOT_OPTIONS 8
set PPP_STATUS_WEACK_OPTIONS 9
set PPP_STATUS_MRU 10
set PPP_STATUS_MTU 11
set PPP_STATUS_LATENCY 12
set PPP_STATUS_PPPOE_STATE 13
set PPP_STATUS_PPPOE_MODE 14
set PPP_STATUS_PPPOE_SESSIONID 15
set PPP_STATUS_PPPOE_SOURCE_MAC 16
set PPP_STATUS_PPPOE_DEST_MAC 17
set PPP_SET_CONFIG $PPP_CONFIG
set _POSITEMS_H_ 1
set POS_CARD_BASE 0x6100
set POS_CARD_LINE_CONFIG [expr ($POS_CARD_BASE+0x0004)]
set POS_CARD_PORT_ENCAP [expr ($POS_CARD_BASE+0x0014)]
set POS_SONET_PAYLOAD_CONFIG [expr ($POS_CARD_BASE+0x0016)]
set POS_STRUC_TRIGGER [expr ($POS_CARD_BASE+0x0018)]
set POS_CONFIG [expr ($POS_CARD_BASE+0x0019)]
set POS_CONFIG_INFO [expr ($POS_CARD_BASE+0x0020)]
set NS_SONET_ALARM_COUNTER_INFO [expr ($POS_CARD_BASE+0x0021)]
set SONET_FRAMING_A1A2_ERRORS 0x0001
set SONET_SECTION_BIP8_ERRORS 0x0002
set SONET_LINE_BIP96_ERRORS 0x0004
set SONET_PATH_BIP8_ERRORS 0x0008
set SONET_LINE_AIS_ALARMS 0x0010
set SONET_LINE_RDI_ALARMS 0x0020
set SONET_PATH_AIS_ALARMS 0x0040
set PROTOCOL_ENCAP_TYPE_STD_PPP 0x21
set PROTOCOL_ENCAP_TYPE_HDLC_WITH_ETHERTYPE 0x25
set PROTOCOL_ENCAP_TYPE_MPLS_STACK 0x27
set POS_SET_SPEED 0x0726
set POS_SPEED_OC1 0x0001
set POS_SPEED_OC3 0x0002
set POS_SPEED_OC12 0x0004
set POS_SPEED_OC48 0x0008
set POS_SPEED_OC192 0x00010
set POS_READ_SPEED 0x0725
set POS_TRANSCIEVER_MODE_SINGLE 0x00
set POS_TRANSCIEVER_MODE_MULTI 0x01
set POS_SONET_PAYLOAD_TYPE_UNEQUIPPED 0x00
set POS_SONET_PAYLOAD_TYPE_NON_SPECIFIC 0x01
set POS_SONET_PAYLOAD_TYPE_SYNCHRONOUS 0x10
set POS_SONET_PAYLOAD_TYPE_PPP 0xCF
set POS_TRIGGER1_ONLY 1
set POS_TRIGGER2_ONLY 0
set POS_TRIGGER1_OR_TRIGGER2 3
set POS_TRIGGER1_AND_TRIGGER2 2
set POS_TRIGGER_OFF 4
set POS_QOS_TRIGGER 8
set POS_FRAMING_MODE_SONET 0
set POS_FRAMING_MODE_SDH 1
set POS_LOOPBACK_MODE_OFF 0
set POS_LOOPBACK_MODE_LOCAL_PHY 2
set POS_LOOPBACK_MODE_REMOTE_PHY 3
set POS_LOOPBACK_MODE_LOCAL_TRANSCEIVER 4
set POS_LOOPBACK_MODE_REMOTE_TRANSCEIVER 5
set POS_LOOPBACK_MODE_MONITOR_PHY 5
set _L2ITEMS_H_ 1
set L2_READ_COUNTERS [expr ($POS_CARD_BASE+0x0010)]
set L2_READ_RATES [expr ($POS_CARD_BASE+0x0011)]
set _FRAME_ITEMS_H 1
set ENCAP_ETHERNET 0
set ENCAP_ATM_PVC 1
set ENCAP_ATM_SVC_SNAP 2
set ENCAP_ATM_SVC_LANE802_3 3
set ENCAP_ATM_SVC_LANE802_5 4
set ENCAP_ATM_SVC_CLASSICAL_IP 5
set ENCAP_TOKEN_RING 6
set ENCAP_BRIDGE_FR 7
set ENCAP_ROUTE_FR 8
set ENCAP_ATM_PVC_SNAP 9
set FRAME_PROTOCOL_NULL 0
set FRAME_PROTOCOL_IP 1
set FRAME_PROTOCOL_UDP 2
set FRAME_PROTOCOL_TCP 3
set FRAME_PROTOCOL_ARP 4
set FRAME_PROTOCOL_RARP 5
set FRAME_PROTOCOL_IPX 6
set FRAME_PROTOCOL_ICMP 7
set PAT_0000 0
set PAT_1111 1
set PAT_AAAA 2
set PAT_5555 3
set PAT_F0F0 4
set PAT_0F0F 5
set PAT_FF00 6
set PAT_00FF 7
set PAT_FFFF 8
set PAT_INCB 9
set PAT_INCW 10
set PAT_DECB 11
set PAT_DECW 12
set PAT_CUST 13
set PAT_RAND 14
set FRAME_TYPE 0
set FRAME_DST_MAC_ADDR 1
set FRAME_SRC_MAC_ADDR 2
set FRAME_LLC_DSAP 3
set FRAME_LLC_SSAP 4
set FRAME_LLC_CONTROL 5
set FRAME_SNAP_OUI 6
set FRAME_SNAP_PROTOCOL_ID 7
set FRAME_LEC_ID 8
set FRAME_AC_PAD 9
set FRAME_FC 10
set FRAME_AC 11
set FRAME_PAD 12
set FRAME_VERSION 50
set FRAME_HEADER_LENGTH 51
set FRAME_UDP_HEADER_LENGTH 52
set FRAME_TCP_HEADER_LENGTH 53
set FRAME_TYPE_SERVICE 54
set FRAME_TOTAL_LENGTH 55
set FRAME_SEQUENCE 56
set FRAME_UDP_SEQUENCE 57
set FRAME_TCP_SEQUENCE 58
set FRAME_FLAGS 59
set FRAME_FRAGMENTS_OFFSET 60
set FRAME_TIME_TO_LIVE 61
set FRAME_PROTOCOL 62
set FRAME_HEADER_CRC 63
set FRAME_UDP_HEADER_CRC 64
set FRAME_TCP_HEADER_CRC 65
set FRAME_DST_IP_ADDR 66
set FRAME_SRC_IP_ADDR 67
set FRAME_SRC_PORT 68
set FRAME_DST_PORT 69
set FRAME_ACKNOWLEDGE 70
set FRAME_RESERVED 71
set FRAME_URG_BIT 72
set FRAME_ACK_BIT 73
set FRAME_PSH_BIT 74
set FRAME_RST_BIT 75
set FRAME_SYN_BIT 76
set FRAME_FIN_BIT 78
set FRAME_WINDOW_SIZE 79
set FRAME_URGENT_POINTER 80
set FRAME_HARDWARE_TYPE 81
set FRAME_HEADER_TYPE 82
set FRAME_HARDWARE_SIZE 83
set FRAME_PROTOCOL_TYPE 84
set FRAME_PROTOCOL_SIZE 85
set FRAME_OPERATION 86
set FRAME_HEADER_CODE 87
set FRAME_IDENTIFIER 88
set FRAME_SEN_MAC_ADDR 89
set FRAME_REC_MAC_ADDR 90
set FRAME_HOP 91
set FRAME_DST_SOCKET 92
set FRAME_SRC_SOCKET 93
set FRAME_ICMP_HEADER_CRC 94
set _ETHITEMS_H_ 1
set ETH_TRANSMIT 0x5000
set ETH_TRIGGER 0x5001
set ETH_LATENCY 0x5002
set ETH_COLLISION 0x5003
set ETH_WRITE_MII 0x5004
set ETH_FILL_PATTERN 0x5005
set ETH_SET_SPEED 0x5006
set ETH_VLAN 0x5007
set ETH_LINK_INIT 0x5008
set ETH_LINK_VERIFY 0x5009
set ETH_RSMII 0x500A
set ETH_CARD_INFO 0x5010
set ETH_COUNTER_INFO 0x5011
set ETH_ENHANCED_COUNTER_INFO 0x5012
set ETH_ENHANCED_STATUS_INFO 0x5013
set ETH_LATENCY_INFO 0x5014
set ETH_FIND_MII_ADDR_INFO 0x5015
set ETH_READ_MII_INFO 0x5016
set ETH_EXTENDED_CARD_INFO 0x5017
set ETH_QOS_COUNTER_INFO 0x5018
set ETH_EXTENDED_COUNTER_INFO 0x5019
set ETH_TRANSMIT_INFO 0xD000
set ETH_CLEAR_PORT 0x5020
set ETH_RESET_PORT 0x5021
set ETH_SELECT_RECEIVE 0x5022
set ETH_SELECT_TRANSMIT 0x5023
set ETH_TRIGGERS_OFF 0
set ETH_TRIGGER1_ONLY 1
set ETH_TRIGGER2_ONLY 2
set ETH_TRIGGER1_OR_TRIGGER2 3
set ETH_TRIGGER1_AND_TRIGGER2 4
set ETH_PROTOCOL_DISABLED 0
set ETH_PROTOCOL_GENERATE_ARP 0x00000001
set ETH_PROTOCOL_GENERATE_PING 0x00000002
set ETH_PROTOCOL_RESPOND_ARP 0x00000001
set ETH_PROTOCOL_RESPOND_PING 0x00000002
set ETH_VLAN_PRI_0 0x00
set ETH_VLAN_PRI_1 0x01
set ETH_VLAN_PRI_2 0x02
set ETH_VLAN_PRI_3 0x03
set ETH_VLAN_PRI_4 0x04
set ETH_VLAN_PRI_5 0x05
set ETH_VLAN_PRI_6 0x06
set ETH_VLAN_PRI_7 0x07
set ETH_VLAN_CFI_RIF_ABSENT 0x00
set ETH_VLAN_CFI_RIF_PRESENT 0x01
set FLOWCONTROL_DISABLED 0
set FLOWCONTROL_ENABLED 1
set AN_DISABLE_AUTONEGOTIATION 0
set AN_FORCE_AUTONEGOTIATION 1
set AN_REGISTERS_UNTOUCHED 2
set NS_DECISION_ABORT 0
set NS_DECISION_RETRY_ONCE 1
set NS_DECISION_IGNORE 2
set NS_DECISION_USE_CALLBACK 3
set MII_SELECT_RMII 1
set MII_SELECT_SMII 0
set MDIO_ACCESS_8_VIA_0_3 1
set MDIO_ACCESS_8_VIA_4_7 2
set MDIO_ACCESS_4_PLUS_4 3
set SCHEDULE_MODE_GAP 0
set SCHEDULE_MODE_FRAME_RATE 1
set ETH_PHY_AUTONEGOTIATE_COMPLETE 0x80000000
set ETH_PHY_AUTONEGOTIATE_LINK_GOOD_CHECK 0x40000000
set ETH_PHY_AUTONEGOTIATE_ACK_DETECT 0x20000000
set ETH_PHY_AUTONEGOTIATE_ABILITY_DETECT 0x10000000
set ETH_PHY_AUTONEGOTIATE_NEED_PAGE_WAIT 0x08000000
set ETH_PHY_AUTONEGOTIATE_MODE_26 0x04000000
set ETH_PHY_AUTONEGOTIATE_MODE_25 0x02000000
set ETH_PHY_AUTONEGOTIATE_MODE_24 0x01000000
set ETH_PHY_PARALLEL_LINK_FAULT 0x00800000
set ETH_PHY_LINK_PARTNER_REMOTE_FAULT 0x00400000
set ETH_PHY_LINK_PARTNER_RX_NEW_PAGE 0x00200000
set ETH_PHY_LINK_PARTNER_AUTONEG_CAPABLE 0x00100000
set ETH_PHY_LINK_PARTNER_NEXT_PAGE_CAPABLE 0x00080000
set ETH_PHY_LINK_UP 0x00040000
set ETH_PHY_PAUSE_RX_ENABLED 0x00020000
set ETH_PHY_PAUSE_TX_ENABLED 0x00010000
set ETH_PHY_UNUSED_15 0x00008000
set ETH_PHY_UNUSED_14 0x00004000
set ETH_PHY_MDI_CROSSOVER 0x00002000
set ETH_PHY_UNUSED_12 0x00001000
set ETH_PHY_REMOTE_RECEIVER_OK 0x00000800
set ETH_PHY_LOCAL_RECEIVER_OK 0x00000400
set ETH_PHY_DESCRAMBLER_LOCKED 0x00000200
set ETH_PHY_LINK_GOOD 0x00000100
set ETH_PHY_REMOTE_FAULT 0x00000080
set ETH_PHY_CARRIER_EXTENSION_ERROR 0x00000040
set ETH_PHY_BAD_SSD_ERROR 0x00000020
set ETH_PHY_BAD_ESD_ERROR 0x00000010
set ETH_PHY_RX_ERROR 0x00000008
set ETH_PHY_TX_ERROR 0x00000004
set ETH_PHY_LOCK_ERROR 0x00000002
set ETH_PHY_MLT3_CODE_ERROR 0x00000001
set _FST_ITEMS_H_ 1
set FST_BASE_ITYPE 0x500
set FST_VLAN [expr ($FST_BASE_ITYPE+0)]
set FST_CONTROL_AUX [expr ($FST_BASE_ITYPE+2)]
set FST_CAPTURE_PARAMS [expr ($FST_BASE_ITYPE+3)]
set FST_CAPTURE_COUNT_INFO [expr ($FST_BASE_ITYPE+5)]
set FST_CAPTURE_INFO [expr ($FST_BASE_ITYPE+6)]
set FST_CAPTURE_DATA_INFO [expr ($FST_BASE_ITYPE+7)]
set FST_ALTERNATE_TX [expr ($FST_BASE_ITYPE+8)]
set FST_PROTOCOL_PARAMETERS [expr ($FST_BASE_ITYPE+9)]
set FST_PROTOCOL_PARAMETER_INFO [expr ($FST_BASE_ITYPE+10)]
set FST_PROTOCOL_COUNTER_INFO [expr ($FST_BASE_ITYPE+11)]
set FST_MAX_CAPTURE_FRAMES 96
set FST_CAP_FILTERED_FRAMES_ONLY 1
set FST_CAP_ALL_FRAMES 0
set FST_CAP_STOP_ON_CONDITION 1
set FST_CAP_START_ON_CONDITION 0
set FST_CAP_64_BYTES_ONLY 1
set FST_CAP_ENTIRE_FRAME 0
set FST_CAP_LAST_64_BYTES 1
set FST_CAP_FIRST_64_BYTES 0
set VLAN_PRI_0 0x00
set VLAN_PRI_1 0x01
set VLAN_PRI_2 0x02
set VLAN_PRI_3 0x03
set VLAN_PRI_4 0x04
set VLAN_PRI_5 0x05
set VLAN_PRI_6 0x06
set VLAN_PRI_7 0x07
set VLAN_PRI_LOWEST $VLAN_PRI_0
set VLAN_PRI_HIGHEST $VLAN_PRI_7
set VLAN_CFI_RIF_ABSENT 0x00
set VLAN_CFI_RIF_PRESENT 0x01
set FST_CAPTURE_STATUS_CRC 0x0001
set FST_CAPTURE_STATUS_ALIGNMENT 0x0002
set FST_CAPTURE_STATUS_UNDERSIZE 0x0004
set FST_CAPTURE_STATUS_OVERSIZE 0x0008
set FST_CAPTURE_STATUS_TRIGGER 0x0020
set FST_PROTOCOL_DISABLED 0
set FST_PROTOCOL_GENERATE_ARP 0x00000001
set FST_PROTOCOL_GENERATE_PING 0x00000002
set FST_PROTOCOL_RESPOND_ARP 0x00000001
set FST_PROTOCOL_RESPOND_PING 0x00000002
set _FRITEMS_H_ 1
set FR_PORT_SETTINGS 0
set FR_DEFINE_SMARTBITS_STREAM $NS_DEFINE_SMARTBITS_STREAM
set FR_DEFINE_802_3_STREAM $NS_DEFINE_802_3_STREAM
set FR_DEFINE_IP_STREAM $NS_DEFINE_IP_STREAM
set FR_DEFINE_IPX_STREAM $NS_DEFINE_IPX_STREAM
set FR_DEFINE_UDP_STREAM $NS_DEFINE_UDP_STREAM
set FR_DEFINE_ARP_STREAM $NS_DEFINE_ARP_STREAM
set FR_DEFINE_MULTI_SMARTBITS_STREAM $NS_DEFINE_MULTI_SMARTBITS_STREAM
set FR_DEFINE_MULTI_802_3_STREAM $NS_DEFINE_MULTI_802_3_STREAM
set FR_DEFINE_MULTI_IP_STREAM $NS_DEFINE_MULTI_IP_STREAM
set FR_DEFINE_MULTI_IPX_STREAM $NS_DEFINE_MULTI_IPX_STREAM
set FR_DEFINE_MULTI_UDP_STREAM $NS_DEFINE_MULTI_UDP_STREAM
set FR_DEFINE_MULTI_ARP_STREAM $NS_DEFINE_MULTI_ARP_STREAM
set FR_DUP_STREAM $NS_DUP_STREAM
set FR_MOD_SMARTBITS_STREAM $NS_MOD_SMARTBITS_STREAM
set FR_MOD_802_3_STREAM $NS_MOD_802_3_STREAM
set FR_MOD_IP_STREAM $NS_MOD_IP_STREAM
set FR_MOD_IPX_STREAM $NS_MOD_IPX_STREAM
set FR_MOD_UDP_STREAM $NS_MOD_UDP_STREAM
set FR_MOD_ARP_STREAM $NS_MOD_ARP_STREAM
set FR_MOD_STREAMS_DELTA $NS_MOD_STREAMS_DELTA
set FR_MOD_STREAMS_ARRAY $NS_MOD_STREAMS_ARRAY
set FR_DEFINED_STREAM_COUNT_INFO $NS_STREAM_COUNT_INFO
set FR_STREAM_INFO $NS_STREAM_TYPE_INFO
set FR_SMARTBITS_STREAM_INFO $NS_SMARTBITS_STREAM_INFO
set FR_802_3_STREAM_INFO $NS_802_3_STREAM_INFO
set FR_IP_STREAM_INFO $NS_IP_STREAM_INFO
set FR_IPX_STREAM_INFO $NS_IPX_STREAM_INFO
set FR_UDP_STREAM_INFO $NS_UDP_STREAM_INFO
set FR_ARP_STREAM_INFO $NS_ARP_STREAM_INFO
set FR_TX_ADDRESS_INFO $NS_TX_ADDRESS_INFO
set FR_ARP_TIMES_INFO $NS_ARP_TIMES_INFO
set FR_HIST_ACTIVE_TEST_INFO $NS_HIST_ACTIVE_TEST_INFO
set FR_HIST_START $NS_HIST_START
set FR_HIST_SEQUENCE $NS_HIST_SEQUENCE
set FR_HIST_LATENCY $NS_HIST_LATENCY
set FR_HIST_LATENCY_PER_STREAM $NS_HIST_LATENCY_PER_STREAM
set FR_HIST_LATENCY_DISTRIBUTION $NS_HIST_LATENCY_DISTRIBUTION
set FR_HIST_V2_LATENCY_DISTRIBUTION $NS_HIST_V2_LATENCY_DISTRIBUTION
set FR_HIST_RAW_TAGS $NS_HIST_RAW_TAGS
set FR_HIST_V2_LATENCY $NS_HIST_V2_LATENCY
set FR_HIST_V2_LATENCY_PER_STREAM $NS_HIST_V2_LATENCY_PER_STREAM
set FR_HIST_LATENCY_PRECISION $NS_HIST_LATENCY_PRECISION
set FR_HIST_MULTICAST_LATENCY $NS_HIST_MULTICAST_LATENCY
set FR_HIST_SEQUENCE_INFO $NS_HIST_SEQUENCE_INFO
set FR_HIST_LATENCY_INFO $NS_HIST_LATENCY_INFO
set FR_HIST_LATENCY_PER_STREAM_INFO $NS_HIST_LATENCY_PER_STREAM_INFO
set FR_HIST_LATENCY_DISTRIBUTION_INFO $NS_HIST_LATENCY_DISTRIBUTION_INFO
set FR_HIST_RAW_TAGS_INFO $NS_HIST_RAW_TAGS_INFO
set FR_HIST_V2_LATENCY_INFO $NS_HIST_V2_LATENCY_INFO
set FR_HIST_V2_LATENCY_PER_STREAM_INFO $NS_HIST_V2_LATENCY_PER_STREAM_INFO
set FR_HIST_L3_SEQUENCE 1
set FR_HIST_L3_LATENCYBYTIME 2
set FR_HIST_L3_LATENCYBYSTREAM 3
set FR_HIST_L3_LATENCYDISTRIBUTION 4
set FR_HIST_L3_PACKETTAG 5
set FR_HIST_L3_LONGLATENCY 6
set FR_HIST_L3_LONGSTREAMLATENCY 7
set FR_HIST_L3_RX_DELTA 8
set FR_HIST_L3_ARPEXCHANGE 9
set FR_HIST_L3_LONGLATENCY_DE 17
set FR_HIST_SUMMARY_INFO $NS_HIST_SUMMARY_INFO
set FR_AGGREGATE_INFO $NS_AGGREGATE_INFO
set FR_AGGR_SEQUENCE_INFO $NS_AGGR_SEQUENCE_INFO
set FR_AGGR_LATENCY_INFO $NS_AGGR_LATENCY_INFO
set FR_AGGR_LATENCY_PER_STREAM_INFO $NS_AGGR_LATENCY_PER_STREAM_INFO
set FR_AGGR_LATENCY_DISTRIBUTION_INFO $NS_AGGR_LATENCY_DISTRIBUTION_INFO
set FR_AGGR_RAW_TAGS_INFO $NS_AGGR_RAW_TAGS_INFO
set FR_AGGR_V2_LATENCY_INFO $NS_AGGR_V2_LATENCY_INFO
set FR_AGGR_V2_LATENCY_PER_STREAM_INFO $NS_AGGR_V2_LATENCY_PER_STREAM_INFO
set FR_AGGR_MC_LATENCY_PER_STREAM_INFO $NS_AGGR_MC_LATENCY_PER_STREAM_INFO
set FR_CAPTURE_COUNT_INFO $NS_CAPTURE_COUNT_INFO
set FR_CAPTURE_PACKET_INFO $NS_CAPTURE_PACKET_INFO
set FR_CAPTURE_PACKET_DATA_INFO $NS_CAPTURE_PACKET_DATA_INFO
set FR_STREAM_SMARTBITS $STREAM_PROTOCOL_SMARTBITS
set FR_STREAM_8023 $STREAM_PROTOCOL_8023
set FR_STREAM_IP $STREAM_PROTOCOL_IP
set FR_STREAM_IPX $STREAM_PROTOCOL_IPX
set FR_STREAM_UDP $STREAM_PROTOCOL_UDP
set FR_STREAM_UDPDHCP $STREAM_PROTOCOL_UDPDHCP
set FR_LOAD_CODE_IMAGE 1
set FR_LOAD_FPGA_IMAGE 2
set FR_PVC 3
set FR_PVC_DELETE_ALL 4
set FR_STREAM_DELETE_ALL 5
set FR_LMI 6
set FR_LINE 7
set FR_TRIGGER 8
set FR_CARD_CFG 10
set FR_FILL_PATTERN 11
set FR_VFD3_BUFFER 12
set FR_PVC_STREAM_MAP_CFG 13
set FR_CARD_VERSION_INFO 15
set FR_DUP_PVC 115
set FR_DUP_PVC_MAP 18
set FR_MOD_PVC 20
set FR_MOD_PVC_MAP 21
set FR_SET_START_CFG 22
set FR_COMMIT_CFG 23
set FR_IP_SUBNET_REG 25
set FR_IP_SUBNET_DEREG 26
set FR_SET_PROTO_STACK 28
set FR_LINK_INFO 31
set FR_PVC_INFO 32
set FR_TX_SINGLE_PVC_INFO 33
set FR_RX_AGGREGATE_PVC_INFO 34
set FR_TX_AGGREGATE_PVC_INFO 35
set FR_ALL_PVC_INFO 36
set FR_LMI_INFO 37
set FR_PVC_STATUS_INFO 38
set FR_LINK_STATUS_INFO 39
set FR_INTERVALTIME_INFO 40
set FR_DISABLE_PORT 41
set FR_ENABLE_PORT 42
set FR_PVC_CTRL 43
set FR_STRM_CTRL 44
set FR_SET_PORT_LMI_STATUS 45
set FR_SET_PORT_LMI_ENQ 46
set FR_SET_RELEASE_CAP_CNT 51
set FR_CAP_CNT_INFO 52
set FR_CAPTURE_INFO 53
set FR_HISTOGRAM 61
set FR_HIST_RESET 62
set FR_HIST_SCALE 63
set FR_HIST_DATA_TYPE_INFO 64
set FR_HIST_TYPE_INFO 65
set FR_DUMP_MEM_INFO 71
set FR_DEBUG_SCREEN_INFO 0xF2
set FR_T1E1_LINE 113
set FR_T1E1_LINE_INFO 114
set FR_LED_STATUS_INFO 100
set FR_GROUP_START_CMD 101
set FR_GROUP_STEP_CMD 102
set FR_GROUP_STOP_CMD 103
set FR_START_CMD 104
set FR_STEP_CMD 105
set FR_STOP_CMD 106
set FR_RESET_CARD_CMD 107
set FR_GROUP_MEMBER_CMD 108
set FR_NON_GROUP_CMD 109
set FR_CLEAR_COUNTERS_CMD 110
set FR_LOAD_IMAGE_CMD 111
set FR_INPUT_MSG_CMD 112
set MIN_GAP_VALUE 1
set FR_CARD_DTE 0
set FR_CARD_DCE 1
set FR_NRZ_ENCODE 1
set FR_NRZI_ENCODE 2
set FR_CARD_CLK_EXTERNAL 0
set FR_CARD_CLK_INTERNAL 1
set FR_LOOP_TIMED_CLOCK 0
set FR_CLK_RISING_EDGE 0
set FR_CLK_FALLING_EDGE 1
set FR_LINE_SPEED_19200L 19200
set FR_LINE_SPEED_38400L 38400
set FR_LINE_SPEED_48400L 48400
set FR_LINE_SPEED_56000L 56000
set FR_LINE_SPEED_64000L 64000
set FR_LINE_SPEED_128000L 128000
set FR_LINE_SPEED_192000L 192000
set FR_LINE_SPEED_256000L 256000
set FR_LINE_SPEED_320000L 320000
set FR_LINE_SPEED_384000L 384000
set FR_LINE_SPEED_448000L 448000
set FR_LINE_SPEED_512000L 512000
set FR_LINE_SPEED_576000L 576000
set FR_LINE_SPEED_640000L 640000
set FR_LINE_SPEED_704000L 704000
set FR_LINE_SPEED_768000L 768000
set FR_LINE_SPEED_832000L 832000
set FR_LINE_SPEED_896000L 896000
set FR_LINE_SPEED_960000L 960000
set FR_LINE_SPEED_1024000L 1024000
set FR_LINE_SPEED_1088000L 1088000
set FR_LINE_SPEED_1152000L 1152000
set FR_LINE_SPEED_1216000L 1216000
set FR_LINE_SPEED_1280000L 1280000
set FR_LINE_SPEED_1344000L 1344000
set FR_LINE_SPEED_1408000L 1408000
set FR_LINE_SPEED_1472000L 1472000
set FR_LINE_SPEED_1536000L 1536000
set FR_LINE_SPEED_1600000L 1600000
set FR_LINE_SPEED_1664000L 1664000
set FR_LINE_SPEED_1728000L 1728000
set FR_LINE_SPEED_1792000L 1792000
set FR_LINE_SPEED_1856000L 1856000
set FR_LINE_SPEED_1920000L 1920000
set FR_LINE_SPEED_1984000L 1984000
set FR_LINE_SPEED_2048000L 2048000
set FR_LINE_SPEED_4096000L 4096000
set FR_LINE_SPEED_6144000L 6144000
set FR_LINE_SPEED_8192000L 8192000
set FR_CARD_CPE 0
set FR_CARD_NET 1
set FR_LOOPBACK_DISABLED 0
set FR_LOOPBACK_LOCAL_PHY 1
set FR_LOOPBACK_REMOTE_PHY 2
set FR_DS1_0_TO_133_BUILDOUT $WAN_DS1_0_TO_133_BUILDOUT
set FR_DS1_133_TO_266_BUILDOUT $WAN_DS1_133_TO_266_BUILDOUT
set FR_DS1_266_TO_399_BUILDOUT $WAN_DS1_266_TO_399_BUILDOUT
set FR_DS1_399_TO_533_BUILDOUT $WAN_DS1_399_TO_533_BUILDOUT
set FR_DS1_533_TO_655_BUILDOUT $WAN_DS1_533_TO_655_BUILDOUT
set FR_DS1_N7X5_DB_BUILDOUT $WAN_DS1_N7X5_DB_BUILDOUT
set FR_DS1_N15_DB_BUILDOUT $WAN_DS1_N15_DB_BUILDOUT
set FR_DS1_N22X5_DB_BUILDOUT $WAN_DS1_N22X5_DB_BUILDOUT
set FR_E1_75_OHM_NORMAL 1
set FR_E1_75_OHM_HIRL 2
set FR_E1_120_OHM_NORMAL 3
set FR_E1_120_OHM_HIRL 4
set FR_E1_BUILDOUT $WAN_E1_BUILDOUT
set FR_DS1_AMI_ENCODING $WAN_DS1_AMI_ENCODING
set FR_DS1_B8ZS_ENCODING $WAN_DS1_B8ZS_ENCODING
set FR_DS1_B3ZS_ENCODING 2
set FR_DS1_D4_LINE_FRAMING $WAN_DS1_D4_LINE_FRAMING
set FR_DS1_ESF_LINE_FRAMING $WAN_DS1_ESF_LINE_FRAMING
set FR_CRC4_DISABLE_LINE_FRAMING $WAN_DS1_D4_LINE_FRAMING
set FR_CRC4_ENABLE_LINE_FRAMING $WAN_DS1_ESF_LINE_FRAMING
set FR_E1_AMI_ENCODING $WAN_E1_AMI_ENCODING
set FR_E1_HDB3_ENCODING $WAN_E1_HDB3_ENCODING
set FR_E1_CRC4_ENABLE 1
set FR_E1_CRC4_DISABLE 0
set FR_DS3_CBIT_LINE_FRAMING 2
set FR_DS3_M13_LINE_FRAMING 3
set FR_DS1_E1_LOCD_ALARM $WAN_DS1_E1_LOCD_ALARM
set FR_DS1_E1_OOF_ALARM $WAN_DS1_E1_OOF_ALARM
set FR_DS1_E1_LOS_ALARM $WAN_DS1_E1_LOS_ALARM
set FR_DS1_E1_YELLOW_ALARM $WAN_DS1_E1_YELLOW_ALARM
set FR_DS1_E1_AIS_ALARM $WAN_DS1_E1_AIS_ALARM
set FR_DS1_E1_B8ZS_ALARM $WAN_DS1_E1_B8ZS_ALARM
set FR_DS1_E1_EXCESS_ZEROS_ALARM $WAN_DS1_E1_EXCESS_ZEROS_ALARM
set FR_DS1_E1_SEV_ERROR_FRAME_ALARM $WAN_DS1_E1_SEV_ERROR_FRAME_ALARM
set FR_TX_CONTINUOUS 0
set FR_TX_SINGLE_BURST 1
set FR_TX_MULTI_BURST 4
set FR_TX_CONTINUOUS_MULTI_BURST 5
set FR_TX_ECHO 3
set UNKNOWN_STACK 0
set PROTO_FR_ONLY 1
set PROTO_PPP_ONLY 2
set FR_NO_ENCAP 0
set FR_RFC1490_BRIDGED_SNAP 1
set FR_RFC1490_RTD_NLPID 2
set FR_RFC1662_RTD_PPP 4
set FR_RFC1490_MAX_TYPE 4
set FR_TRIG_DISABLE 0
set FR_TRIG_ENABLE 1
set FR_TRIG_DIR_RX 0
set FR_TRIG_DIR_TX 1
set FR_TRIG_NO_TRIG 0
set FR_TRIG_COMP1_ONLY 1
set FR_TRIG_COMP2_ONLY 2
set FR_TRIG_COMP1_AND_COMP2 3
set FR_TRIG_COMP1_OR_COMP2 4
set FR_IPSUBNET_NOT_DEFINED 0xFFFF
set FR_MAX_PVCS 256
set FR_NUM_PVCS 256
set MAX_ENCAPHEADER_LEN 16
set FR_STREAM_CNT_MAX 256
set FR_MAX_PROTOCOL_STREAMS 256
set FR_PVC_AGGREGATE_CNT_MAX 256
set MAX_PHEADER_LEN 64
set FR_VFD_OFF 0
set FR_VFD_RANDOM 1
set FR_VFD_INCREASING 2
set FR_VFD_DECREASING 3
set FR_VFD_STATIC 4
set FR_MAX_VFD_PATTERNS 4
set FR_STREAMID_NOT_DEFINED 0xFFFF
set FR_LMP_DISABLE 0
set FR_LMP_LMI 1
set FR_LMP_ANNEX_D_PARM 2
set FR_LMP_ANNEX_A_PARM 3
set FR_UNI_DTE 0
set FR_UNI_DCE 1
set FR_ETSTAT_LINKINTEGRITY 0x00000200
set FR_ETSTAT_GROUPMEMBER 0x00000400
set FR_ETSTAT_TRANSMITTING 0x00000800
set FR_ETSTAT_LINEWAITING 0x00001000
set FR_ETSTAT_CARDCONFIG 0x00004000
set FR_ETSTAT_UNI_UP 0x00008000
set FR_ETSTAT_FRAMEWAITING 0x00010000
set FR_ETSTAT_TXLED 0x00000002
set FR_ETSTAT_TRIGLED 0x00000008
set FR_ETSTAT_CRCLED 0x00000010
set FR_ETSTAT_RXLED 0x00000020
set FR_NIC_EIA_RD_DSR 0x00010000
set FR_NIC_EIA_RD_CTS 0x00020000
set FR_NIC_EIA_RD_DCD 0x00040000
set FR_NIC_EIA_RD_TM 0x00080000
set FR_NIC_EIA_RD_DTR 0x00100000
set FR_NIC_EIA_RD_RTS 0x00200000
set FR_NIC_EIA_RD_RDL 0x00400000
set FR_NIC_EIA_RD_LLB 0x00800000
set FR_MAX_PVC_STATUS_TYPE 3
set FR_PVC_RET_ACTIVE_STATUS 1
set FR_PVC_RET_CONF_STATUS 2
set FR_PVC_RET_ADMIN_STATUS 3
set FR_PVC_STATUS_BITMAP_LEN 128
set FR_MAX_STATUS_BITMAP_LEN 384
set HIST_OFF 0
set HIST_SEQ_TRACK 1
set HIST_LAT_TIME 2
set HIST_LAT_STREAM 3
set HIST_LAT_DISTRIBUTION 4
set HIST_RAW_TAGS 5
set HIST_LONG_LAT_TIME 6
set HIST_LONG_LAT_STREAM 7
set HIST_LAT_SORT 4
set HIST_LAT_STREAM32 10
set HIST_MULTICAST_LAT_STREAM 11
set HIST_FRDE_LONG_LAT_TIME 17
set MAX_HISTOGRAM_TYPES 17
set WN_DS3_CARD_BASE 6000
set WN_CARD_IDENT 15
set WN_FILL_PATTERN [expr ($WN_DS3_CARD_BASE+2)]
set WN_CARD_CFG [expr ($WN_DS3_CARD_BASE+3)]
set WN_PERIOD_CFG [expr ($WN_DS3_CARD_BASE+4)]
set WN_DS3_LINE_CTRL [expr ($WN_DS3_CARD_BASE+20)]
set WN_DS3_LINE_CFG [expr ($WN_DS3_CARD_BASE+21)]
set WN_CHANNEL_CTRL [expr ($WN_DS3_CARD_BASE+30)]
set WN_CHANNEL_DEL [expr ($WN_DS3_CARD_BASE+31)]
set WN_CHANNEL_DEL_ALL [expr ($WN_DS3_CARD_BASE+32)]
set WN_CHANNEL_PHYS_CFG [expr ($WN_DS3_CARD_BASE+40)]
set WN_CHAN_PHYS_COPY_CFG [expr ($WN_DS3_CARD_BASE+41)]
set WN_CHAN_PHYS_FILL_CFG [expr ($WN_DS3_CARD_BASE+42)]
set WN_CHAN_PHYS_MOD_CFG [expr ($WN_DS3_CARD_BASE+43)]
set WN_CHANNEL_ATTRIB_CFG [expr ($WN_DS3_CARD_BASE+50)]
set WN_CHAN_ATTR_COPY_CFG [expr ($WN_DS3_CARD_BASE+51)]
set WN_CHAN_ATTR_FILL_CFG [expr ($WN_DS3_CARD_BASE+52)]
set WN_CHAN_ATTR_MOD_CFG [expr ($WN_DS3_CARD_BASE+53)]
set WN_T1E1_LINE_CTRL [expr ($WN_DS3_CARD_BASE+60)]
set WN_T1E1_LINE_CFG [expr ($WN_DS3_CARD_BASE+61)]
set WN_T1E1_LINE_COPY_CFG [expr ($WN_DS3_CARD_BASE+62)]
set WN_T1E1_LINE_FILL_CFG [expr ($WN_DS3_CARD_BASE+63)]
set WN_T1E1_LINE_MOD_CFG [expr ($WN_DS3_CARD_BASE+64)]
set WN_T1E1_LINE_DEL [expr ($WN_DS3_CARD_BASE+65)]
set WN_T1E1_LINE_DEL_ALL [expr ($WN_DS3_CARD_BASE+66)]
set WN_STREAM_CTRL [expr ($WN_DS3_CARD_BASE+70)]
set WN_STREAM_CFG [expr ($WN_DS3_CARD_BASE+71)]
set WN_STREAM_COPY_CFG [expr ($WN_DS3_CARD_BASE+72)]
set WN_STREAM_FILL_CFG [expr ($WN_DS3_CARD_BASE+73)]
set WN_STREAM_MOD_CFG [expr ($WN_DS3_CARD_BASE+74)]
set WN_STREAM_DEL [expr ($WN_DS3_CARD_BASE+75)]
set WN_STREAM_DEL_ALL [expr ($WN_DS3_CARD_BASE+76)]
set WN_PVC_CTRL [expr ($WN_DS3_CARD_BASE+80)]
set WN_PVC_CFG [expr ($WN_DS3_CARD_BASE+81)]
set WN_PVC_COPY_CFG [expr ($WN_DS3_CARD_BASE+82)]
set WN_PVC_FILL_CFG [expr ($WN_DS3_CARD_BASE+83)]
set WN_PVC_MOD_CFG [expr ($WN_DS3_CARD_BASE+84)]
set WN_PVC_DEL [expr ($WN_DS3_CARD_BASE+85)]
set WN_PVC_DEL_ALL [expr ($WN_DS3_CARD_BASE+86)]
set WN_LMI_CFG [expr ($WN_DS3_CARD_BASE+10)]
set WN_LMI_COPY_CFG [expr ($WN_DS3_CARD_BASE+11)]
set WN_LMI_FILL_CFG [expr ($WN_DS3_CARD_BASE+12)]
set WN_LMI_MOD_CFG [expr ($WN_DS3_CARD_BASE+13)]
set WN_LMI_DEL [expr ($WN_DS3_CARD_BASE+14)]
set WN_LMI_DEL_ALL [expr ($WN_DS3_CARD_BASE+15)]
set WN_STREAM_EXT_CFG [expr ($WN_DS3_CARD_BASE+90)]
set WN_STREAMEXT_COPY_CFG [expr ($WN_DS3_CARD_BASE+91)]
set WN_STREAMEXT_FILL_CFG [expr ($WN_DS3_CARD_BASE+92)]
set WN_STREAMEXT_MOD_CFG [expr ($WN_DS3_CARD_BASE+93)]
set WN_TRIGGER_CTRL [expr ($WN_DS3_CARD_BASE+100)]
set WN_TRIGGER_CFG [expr ($WN_DS3_CARD_BASE+101)]
set WN_TRIGGER_DEL [expr ($WN_DS3_CARD_BASE+102)]
set WN_TRIGGER_DEL_ALL [expr ($WN_DS3_CARD_BASE+103)]
set WN_IP_SUBNET_CFG [expr ($WN_DS3_CARD_BASE+110)]
set WN_IP_SUBNET_DEL [expr ($WN_DS3_CARD_BASE+111)]
set WN_IP_SUBNET_DEL_ALL [expr ($WN_DS3_CARD_BASE+112)]
set WN_HIST_CHAN_CFG [expr ($WN_DS3_CARD_BASE+120)]
set WN_HIST_RESET_CFG [expr ($WN_DS3_CARD_BASE+121)]
set WN_HIST_LATENCY_SCALE [expr ($WN_DS3_CARD_BASE+122)]
set WN_HIST_CTRL [expr ($WN_DS3_CARD_BASE+123)]
set WN_HIST_CTRL_ALL [expr ($WN_DS3_CARD_BASE+124)]
set WN_CAPTURE_CTRL [expr ($WN_DS3_CARD_BASE+128)]
set WN_CAPTURE_CTRL_ALL [expr ($WN_DS3_CARD_BASE+129)]
set WN_CAP_RELEASE_CNT [expr ($WN_DS3_CARD_BASE+130)]
set WN_DEFINE_SMARTBITS_STREAM [expr ($WN_DS3_CARD_BASE+131)]
set WN_DEFINE_IP_STREAM [expr ($WN_DS3_CARD_BASE+132)]
set WN_DEFINE_UDP_STREAM [expr ($WN_DS3_CARD_BASE+133)]
set WN_DEFINE_MULTI_SMARTBITS_STREAM [expr ($WN_DS3_CARD_BASE+135)]
set WN_DEFINE_MULTI_IP_STREAM [expr ($WN_DS3_CARD_BASE+136)]
set WN_DEFINE_MULTI_UDP_STREAM [expr ($WN_DS3_CARD_BASE+137)]
set WN_CHANNEL_TX_CFG [expr ($WN_DS3_CARD_BASE+138)]
set WN_CARD_CAPABILITY_INFO [expr ($WN_DS3_CARD_BASE+200)]
set WN_CARD_CFG_INFO [expr ($WN_DS3_CARD_BASE+201)]
set WN_PERIODIC_CFG_INFO [expr ($WN_DS3_CARD_BASE+202)]
set WN_LMI_INFO [expr ($WN_DS3_CARD_BASE+210)]
set WN_DS3_LINE_CFG_INFO [expr ($WN_DS3_CARD_BASE+220)]
set WN_DS3_ALARM_COUNTER_INFO [expr ($WN_DS3_CARD_BASE+221)]
set WN_DS3_LINE_INFO $WN_DS3_ALARM_COUNTER_INFO
set WN_DS3_LINE_STATUS [expr ($WN_DS3_CARD_BASE+222)]
set WN_PORT_INFO [expr ($WN_DS3_CARD_BASE+223)]
set WN_CHAN_CFG_INFO [expr ($WN_DS3_CARD_BASE+230)]
set WN_CHAN_ATTRIB_CFG_INFO [expr ($WN_DS3_CARD_BASE+240)]
set WN_CHANNEL_INFO [expr ($WN_DS3_CARD_BASE+241)]
set WN_CHANNEL_STATUS [expr ($WN_DS3_CARD_BASE+242)]
set WN_T1E1_LINE_CFG_INFO [expr ($WN_DS3_CARD_BASE+250)]
set WN_T1E1_ALARM_COUNTER_INFO [expr ($WN_DS3_CARD_BASE+251)]
set WN_T1E1_LINE_STATUS [expr ($WN_DS3_CARD_BASE+252)]
set WN_STREAM_STATUS [expr ($WN_DS3_CARD_BASE+261)]
set WN_PVC_CFG_INFO [expr ($WN_DS3_CARD_BASE+270)]
set WN_PVC_INFO [expr ($WN_DS3_CARD_BASE+271)]
set WN_PVC_STATUS [expr ($WN_DS3_CARD_BASE+272)]
set WN_STREAMEXT_CFG_INFO [expr ($WN_DS3_CARD_BASE+280)]
set WN_IP_SUBNET_CFG_INFO [expr ($WN_DS3_CARD_BASE+290)]
set WN_CAPTURE_ADD_LINE [expr ($WN_DS3_CARD_BASE+300)]
set WN_CAPTURE_DEL_LINE [expr ($WN_DS3_CARD_BASE+301)]
set WN_HIST_ADD_LINE [expr ($WN_DS3_CARD_BASE+310)]
set WN_HIST_DEL_LINE [expr ($WN_DS3_CARD_BASE+311)]
set WN_START_CFG [expr ($WN_DS3_CARD_BASE+400)]
set WN_COMMIT_CFG [expr ($WN_DS3_CARD_BASE+401)]
set PROTOCOL_TYPE_OFF 0
set PROTOCOL_TYPE_8023 1
set PROTOCOL_TYPE_IP 2
set PROTOCOL_TYPE_IPX 3
set PROTOCOL_TYPE_IPUDP 4
set PROTOCOL_TYPE_ARP 5
set MAX_PROTOCOL_TYPES 5
set WN_STREAM_CNT_MAX 8000
set WN_VFD_OFF 0
set WN_VFD_RANDOM 1
set WN_VFD_INCREASING 2
set WN_VFD_DECREASING 3
set WN_VFD_STATIC 4
set MAX_VFD_PATTERNS 4
set DS3_LOCD_ALARM 0x0001
set DS3_OOF_ALARM 0x0002
set DS3_LOS_ALARM 0x0004
set DS3_YELLOW_ALARM 0x0008
set DS3_AIS_ALARM 0x0010
set DS3_B3ZS_ALARM 0x0020
set DS3_EXCESS_ZEROS_ALARM 0x0040
set DS3_SEV_ERROR_FRAME_ALARM 0x0400
set WN_DS3_CBIT_LINE_FRAMING 0
set WN_DS3_M13_LINE_FRAMING 1
set WN_CARD_CLK_INTERNAL 1
set WN_LOOP_TIMED_CLOCK 0
set WN_DS3_ENCODING_B3ZS 0
set WN_DS3_CHANNELIZED 0
set WN_DS3_UNCHANNELIZED 1
set WN_DS3_BUILDOUT_GT225 1
set WN_DS3_BUILDOUT_LT225 0
set WN_LOOPBACK_DISABLED 0
set WN_LOOPBACK_LOCAL_PHY 1
set WN_LOOPBACK_REMOTE_PHY 2
set WN_E1_75_OHM_NORMAL 1
set WN_E1_75_OHM_HIRL 2
set WN_E1_120_OHM_NORMAL 3
set WN_E1_120_OHM_HIRL 4
set WN_E1_AMI_ENCODING 0
set WN_E1_HDB3_ENCODING 1
set WN_E1_CRC4_ENABLE 1
set WN_E1_CRC4_DISABLE 0
set WN_DS1_0_TO_110_BUILDOUT 1
set WN_DS1_110_TO_220_BUILDOUT 2
set WN_DS1_220_TO_440_BUILDOUT 3
set WN_DS1_440_TO_660_BUILDOUT 4
set WN_DS1_AMI_ENCODING 0
set WN_DS1_B8ZS_ENCODING 1
set WN_DS1_D4_LINE_FRAMING 0
set WN_DS1_ESF_LINE_FRAMING 1
set WN_TX_CONTINUOUS 0
set WN_TX_SINGLE_BURST 1
set WN_CONN_FRAME_RELAY 1
set WN_CONN_PPP 2
set WN_PVC_CNT_MAX 1024
set WN_PVC_AGGREGATE_CNT_MAX 16
set WN_PVC_FRM_LEN_DFLT 1600
set WN_NO_ENCAP 0
set WN_RFC1490_BRIDGED_SNAP 1
set WN_RFC1490_RTD_NLPID 2
set WN_RFC1490_RTD_PPP_FR 3
set WN_RFC1662_RTD_PPP 4
set WN_RFC1490_MAX_TYPE 4
set C_DISABLE 0
set C_LMI_PARM 1
set C_ANNEX_D_PARM 2
set C_ANNEX_A_PARM 3
set UNI_DTE 0
set UNI_DCE 1
set WN_TRIG_DIR_RX 0
set WN_TRIG_DIR_TX 1
set WN_TRIG_ENABLE 1
set WN_TRIG_NO_TRIG 0
set WN_TRIG_COMP1_ONLY 1
set WN_TRIG_COMP2_ONLY 2
set WN_TRIG_COMP1_AND_COMP2 3
set WN_TRIG_COMP1_OR_COMP2 4
set WN_FEATURES_PER_CHAN_TRIGGERS 0x0001
set WN_FEATURES_PER_PORT_TRIGGERS 0x0001
set WN_FEATURES_PER_CHAN_BURST 0x0002
set WN_FEATURES_PER_PORT_BURST 0x0002
set WN_FEATURES_PER_STREAM_RATE 0x0004
set WN_FEATURES_PER_PVC_RATE 0x0004
set WN_FEATURES_FR 0x0004
set WN_FEATURES_PPP 0x0004
set WN_FEATURES_PPP_FR 0x0004
set WN_FEATURES_PROTOCOL_TRACE 0x0008
set WN_FEATURES_STREAM_COPY_PASTE 0x0010
set WN_FEATURES_STATE_TRACKING 0x0020
set WN_DS3_FRMR_STATUS_ACE 0x80
set WN_DS3_FRMR_STATUS_RED 0x40
set WN_DS3_FRMR_STATUS_CBIT 0x20
set WN_DS3_FRMR_STATUS_FERF 0x10
set WN_DS3_FRMR_STATUS_IDL 0x08
set WN_DS3_FRMR_STATUS_AIS 0x04
set WN_DS3_FRMR_STATUS_OOF 0x02
set WN_DS3_FRMR_STATUS_LOS 0x01
set LINE_UP 0
set LINE_DOWN 1
set LINE_DISABLED 2
set PORT_UP $LINE_UP
set PORT_DOWN $LINE_DOWN
set PORT_DISABLED $LINE_DISABLED
set FR_UNI_DISABLED 0
set FR_UNI_DOWN 1
set FR_UNI_UP 2
set CHANNEL_DOWN 1
set CHANNEL_UP 2
set CHANNEL_DISABLED 3
set LCP_UP 0
set LCP_DOWN 1
set LCP_AUTH 2
set LCP_NOT_CFGD 3
set NCP_UP 0
set NCP_DOWN 1
set NCP_NOT_CFGD 2
set WN_DS1_E1_LOCD_ALARM 0x0001
set WN_DS1_E1_OOF_ALARM 0x0002
set WN_DS1_E1_LOS_ALARM 0x0004
set WN_DS1_E1_YELLOW_ALARM 0x0008
set WN_DS1_E1_AIS_ALARM 0x0010
set WN_DS1_E1_B8ZS_ALARM 0x0020
set WN_DS1_E1_EXCESS_ZEROS_ALARM 0x0040
set WN_DS1_E1_SEV_ERROR_FRAME_ALARM 0x0400
set WN_PVC_RET_ACTIVE_STATUS $FR_PVC_RET_ACTIVE_STATUS
set WN_PVC_RET_CONF_STATUS $FR_PVC_RET_CONF_STATUS
set WN_PVC_RET_ADMIN_STATUS $FR_PVC_RET_ADMIN_STATUS
set WN_PVC_STATUS_BITMAP_LEN $FR_PVC_STATUS_BITMAP_LEN
set _GIGITEMS_H_ 1
set GIG_BASE_NUM 0x9000
set GIG_RECEIVE 1
set GIG_TRANSMIT 2
set GIG_STRUC_CAP_INFO [expr ($GIG_BASE_NUM+2)]
set GIG_STRUC_CAP_COUNT_INFO [expr ($GIG_BASE_NUM+3)]
set GIG_STRUC_CAP_DATA_INFO [expr ($GIG_BASE_NUM+4)]
set GIG_STRUC_CAPTURE_SETUP [expr ($GIG_BASE_NUM+5)]
set GIG_STRUC_TX [expr ($GIG_BASE_NUM+6)]
set GIG_STRUC_ALT_TX [expr ($GIG_BASE_NUM+7)]
set GIG_STRUC_AUTO_FIBER_NEGOTIATE [expr ($GIG_BASE_NUM+8)]
set GIG_STRUC_TRIGGER [expr ($GIG_BASE_NUM+9)]
set GIG_STRUC_CARD_INFO [expr ($GIG_BASE_NUM+10)]
set GIG_STRUC_COUNTER_INFO [expr ($GIG_BASE_NUM+11)]
set GIG_STRUC_RATE_INFO [expr ($GIG_BASE_NUM+12)]
set GIG_STRUC_VFD3 [expr ($GIG_BASE_NUM+13)]
set GIG_STRUC_FILL_PATTERN [expr ($GIG_BASE_NUM+14)]
set GIG_STRUC_BG1 [expr ($GIG_BASE_NUM+15)]
set GIG_STRUC_BG2 [expr ($GIG_BASE_NUM+16)]
set GIG_STRUC_SS1 [expr ($GIG_BASE_NUM+17)]
set GIG_STRUC_SS2 [expr ($GIG_BASE_NUM+18)]
set GIG_CMD_CLEAR_STATS [expr ($GIG_BASE_NUM+19)]
set GIG_STRUC_IMAGE_VERSIONS [expr ($GIG_BASE_NUM+20)]
set GIG_STRUC_DEBUG_DISPLAY [expr ($GIG_BASE_NUM+21)]
set GIG_STRUC_LED [expr ($GIG_BASE_NUM+22)]
set GIG_STRUC_CAPTURE_DESCRIPTION [expr ($GIG_BASE_NUM+23)]
set GIG_STRUC_CAPTURE_SETUP_READBACK [expr ($GIG_BASE_NUM+24)]
set GIG_STRUC_TX_READBACK [expr ($GIG_BASE_NUM+25)]
set GIG_STRUC_ALT_TX_READBACK [expr ($GIG_BASE_NUM+26)]
set GIG_STRUC_TRIGGER_READBACK [expr ($GIG_BASE_NUM+27)]
set GIG_STRUC_AUTO_NEGO_READBACK [expr ($GIG_BASE_NUM+28)]
set GIG_STRUC_FILL_PATTERN_READBACK [expr ($GIG_BASE_NUM+29)]
set GIG_STRUC_BG1_READBACK [expr ($GIG_BASE_NUM+30)]
set GIG_STRUC_BG2_READBACK [expr ($GIG_BASE_NUM+31)]
set GIG_STRUC_SS1_READBACK [expr ($GIG_BASE_NUM+32)]
set GIG_STRUC_SS2_READBACK [expr ($GIG_BASE_NUM+33)]
set GIG_STRUC_VFD3_READBACK [expr ($GIG_BASE_NUM+34)]
set GIG_STRUC_TX_READ_WRITE [expr ($GIG_BASE_NUM+35)]
set GIG_STRUC_TRIGGER_READ_WRITE [expr ($GIG_BASE_NUM+36)]
set GIG_STRUC_RESET [expr ($GIG_BASE_NUM+37)]
set GIG_STRUC_INIT [expr ($GIG_BASE_NUM+38)]
set GIG_STRUC_IMAGE_DOWNLOAD [expr ($GIG_BASE_NUM+39)]
set GIG_STRUC_STOP [expr ($GIG_BASE_NUM+40)]
set GIG_STRUC_RESTART [expr ($GIG_BASE_NUM+41)]
set GIG_STRUC_STEP [expr ($GIG_BASE_NUM+42)]
set GIG_STRUC_SET_PORT_INTO_GROUP [expr ($GIG_BASE_NUM+43)]
set GIG_STRUC_GET_PORT_GROUP_INFO [expr ($GIG_BASE_NUM+44)]
set GIG_STRUC_MEMORY_WRITE [expr ($GIG_BASE_NUM+45)]
set GIG_STRUC_MEMORY_READ [expr ($GIG_BASE_NUM+46)]
set GIG_STRUC_TEST_RAM [expr ($GIG_BASE_NUM+47)]
set GIG_STRUC_TEST_CAPTURE_MEMORY [expr ($GIG_BASE_NUM+48)]
set GIG_STRUC_TEST_TX_LOOPBACK [expr ($GIG_BASE_NUM+49)]
set GIG_STRUC_TEST_RX_LOOPBACK [expr ($GIG_BASE_NUM+50)]
set GIG_STRUC_TEST_FLASH_CRC [expr ($GIG_BASE_NUM+51)]
set GIG_STRUC_LOAD_FPGA [expr ($GIG_BASE_NUM+52)]
set GIG_STRUC_UPLOAD_ERROR_LOG [expr ($GIG_BASE_NUM+53)]
set GIG_FILL_SELECTED 0
set GIG_FILL_RANDOM 1
set GIG_MAX_CAPTURE_FRAMES 96
set GIG_VFD_OFF 4
set GIG_VFD_STATIC 0
set GIG_VFD_INCREMENT 1
set GIG_VFD_DECREMENT 2
set GIG_VFD_RANDOM 3
set GIG_VFD3_OFF 0
set GIG_VFD3_ON 1
set GIG_CONTINUOUS_MODE 0
set GIG_SINGLE_BURST_MODE 1
set GIG_MULTIBURST_MODE 3
set GIG_CONTINUOUS_MULTIBURST_MODE 2
set GIG_AFN_RESERVED0 0x0001
set GIG_AFN_RESERVED1 0x0002
set GIG_AFN_RESERVED2 0x0004
set GIG_AFN_RESERVED3 0x0008
set GIG_AFN_RESERVED4 0x0010
set GIG_AFN_FULL_DUPLEX 0x0020
set GIG_AFN_HALF_DUPLEX 0x0040
set GIG_AFN_PAUSE1 0x0080
set GIG_AFN_PAUSE2 0x0100
set GIG_AFN_RESERVED9 0x0200
set GIG_AFN_RESERVED10 0x0400
set GIG_AFN_RESERVED11 0x0800
set GIG_AFN_REMOTE_FAULT1 0x1000
set GIG_AFN_REMOTE_FAULT2 0x2000
set GIG_AFN_ACKNOWLEDGE 0x4000
set GIG_AFN_NEXT_PAGE 0x8000
set GIG_CONTROL_IP_FLOW_GENERATE 0x01
set GIG_CONTROL_IP_CHECKSUM_INHIBIT 0x02
set GIG_CONTROL_VLAN_GENERATE 0x04
set GIG_TRIGGER1_ONLY 1
set GIG_TRIGGER2_ONLY 0
set GIG_TRIGGER1_OR_TRIGGER2 3
set GIG_TRIGGER1_AND_TRIGGER2 2
set GIG_TRIGGER_OFF 4
set GIG_QOS_TRIGGER 8
set GIG_CAP_UNDERSIZE 0x0001
set GIG_CAP_OVERSIZE 0x0002
set GIG_CAP_TRIGGER 0x0004
set GIG_CAP_CRC 0x0008
set GIG_CAP_RUN_DISPARITY 0x0010
set GIG_STRUC_CAP_INFO_REQUEST 116
set GIG_STRUC_CAP_DATA $GIG_STRUC_CAP_DATA_INFO
set _ATMITEMS_H_ 1
set ATM_MAX_ARRAY_DIM 2048
set ATM_MAX_ARRAY_DIM_512 512
set ATM_MAX_CONNECTIONS $ATM_MAX_ARRAY_DIM
set ATM_MAX_SETUP_CONNECTIONS 8388606
set ATM_MAX_STREAMS $ATM_MAX_ARRAY_DIM
set ATM_MAX_MODS 100
set ATM_MAX_MOD_DATA 12
set ATM_MAX_DELTA 20
set MAX_EVENT_DATA_LEN 140
set ATM_LINE 2
set ATM_CONNECTION 724
set ATM_CONN_COPY 725
set ATM_CONN_MODIFY 701
set ATM_CONN_MODIFY_ARRAY 702
set ATM_CALL_SETUP 720
set ATM_CALL_ADDR_LIST 733
set ATM_ILMI 9
set ATM_SSCOP 709
set ATM_UNI 714
set ATM_ELAN_REGISTER 735
set ATM_ELAN_DEREGISTER 728
set ATM_START_SETUP 14
set ATM_STOP_SETUP 710
set ATM_INCOMING_SVC_METHOD 47
set ATM_STREAM 50
set ATM_FRAME_DEF 52
set ATM_STREAM_CONTROL 53
set ATM_TRIGGER 54
set ATM_CLASSICAL_IP 55
set ATM_DS3_E3_LINE_PARAM 56
set ATM_GLOBAL_TRIGGER_PARAMS 57
set ATM_CONN_TRIGGER_PARAMS 58
set ATM_STREAM_TRIGGER_PARAMS 59
set ATM_DS1_E1_LINE_PARAM 717
set ATM_PVCAD_PARAMS 70
set ATM_PVCAD_SEND_GETNEXT 71
set ATM_PVCAD_RESPONSE 72
set ATM_PVCAD_DISABLE 73
set ATM_VCDB_PURGE 78
set ATM_VCDB_CLEAR_FLAG 94
set ATM_PER_CONN_BURST 704
set ATM_PER_PORT_BURST 705
set ATM_PER_STREAM_BURST 716
set ATM_STREAM_PARAMS_COPY 731
set ATM_STREAM_PARAMS_MODIFY 732
set ATM_STREAM_PARAMS_FILL 729
set ATM_FRAME_COPY 715
set ATM_SCHED_PARAMS 711
set ATM_LOGFILE_CONTROL 111
set ATM_PROTOCOL_TRACE_CONTROL 113
set ATM_CONNECTIONEX 200
set ATM_CALL_SETUPEX 201
set ATM_CARD_INFO 706
set ATM_CARD_TYPE 160
set ATM_SONET_INFO 707
set ATM_LAYER_INFO 708
set ATM_AAL5_INFO 19
set ATM_ELAN_INFO 20
set ATM_ILMI_INFO 21
set ATM_SAAL_INFO 730
set ATM_CONN_INFO 719
set ATM_CONN_INFO_SUMMARY 27
set ATM_CONN_64_INFO 34
set ATM_CONN_64_INFO_SUMMARY 35
set ATM_SIG_EMUL_INFO 30
set ATM_UNI_RESTART_ACK_STATS 45
set ATM_CONN_TRIGGER_INFO 718
set ATM_VCDB_COUNTS 77
set ATM_VCDB_LIST_INFO 79
set ATM_VCC_INFO 82
set ATM_TRIGGER_INFO 84
set ATM_STREAM_DETAIL_INFO 87
set ATM_STREAM_SEARCH_INFO 89
set ATM_CLASSICAL_IP_INFO 90
set ATM_CARD_CAPABILITY 91
set ATM_DS3_E3_LINE_INFO 92
set ATM_DS1_E1_LINE_INFO 93
set ATM_LOGFILE_READ_INFO 112
set ATM_EXT_VCC_INFO 117
set ATM_STREAM_VCC_INFO 120
set ATM_STREAM_EXT_VCC_INFO 123
set ATM_STREAM_TRIGGER_INFO 126
set ATM_STREAM_TRIGGER_TIME_INFO 129
set ATM_CONN_PARAMS_RESET 36
set ATM_CONN_PARAMS_COMPLETE 722
set ATM_ILMI_REGISTER 727
set ATM_ILMI_DEREGISTER 721
set ATM_SAAL_ESTABLISH 40
set ATM_SAAL_RELEASE 712
set ATM_SIG_EMUL_RESET 713
set ATM_ILMI_STATIC_REGISTER 726
set ATM_UNI_RESTART 44
set ATM_SIG_EMUL_TEARDOWN 46
set ATM_CLIP_ESTABLISH_CLIENT 95
set ATM_CLIP_RELEASE_CLIENT 703
set ATM_FRAME_CLEAR 723
set ATM_PVC 0
set ATM_SVC 1
set ATM_LANE 2
set ATM_LED_STATUS_TX 0x0002
set ATM_LED_STATUS_ALARM_RED 0x0004
set ATM_LED_STATUS_ALARM_YELLOW 0x000C
set ATM_LED_STATUS_TRIG 0x0008
set ATM_LED_STATUS_LOS 0x0010
set ATM_LED_STATUS_RX 0x0020
set ATM_LED_STATE_MASK 0xFF00
set ATM_LED_STATE_PHY_DOWN 0x0000
set ATM_LED_STATE_PHY_UP 0x0100
set ATM_LED_STATE_ILMI_UP 0x0200
set ATM_LED_STATE_ILMI_AND_SAAL_UP 0x0300
set ATM_LED_STATE_SAAL_UP 0x0400
set ATM_MAX_CALL_ADDRESSES 128
set ATM_DCC_AFI 0x39
set ATM_ICD_AFI 0x47
set ATM_E164_AFI 0x45
set ATM_155_MAX_PORTS 1
set ATM_25_MAX_PORTS 1
set ATM_OC12_LINE_CELL_RATE 1412830
set ATM_155_LINE_CELL_RATE 353207
set ATM_DS3_CELL_LINE_CELL_RATE 104268
set ATM_DS3_PLCP_LINE_CELL_RATE 96000
set ATM_E3_CELL_LINE_CELL_RATE 80000
set ATM_E3_PLCP_LINE_CELL_RATE 72000
set ATM_25_LINE_CELL_RATE 59259
set ATM_E1_CELL_LINE_CELL_RATE 4528
set ATM_E1_PLCP_LINE_CELL_RATE 4210
set ATM_DS1_CELL_LINE_CELL_RATE 3622
set ATM_DS1_PLCP_LINE_CELL_RATE 3333
set ATM_OC3_FRAMING 0
set ATM_STM1_FRAMING 1
set ATM_OC12_FRAMING 2
set ATM_STM4_FRAMING 3
set ATM_ATM25_FRAMING 4
set ATM_DS3_CELL_FRAMING 5
set ATM_DS3_PLCP_FRAMING 6
set ATM_E3_CELL_FRAMING 7
set ATM_E3_PLCP_FRAMING 8
set ATM_DS1_CELL_FRAMING 9
set ATM_DS1_PLCP_FRAMING 10
set ATM_E1_CELL_FRAMING 11
set ATM_E1_PLCP_FRAMING 12
set ATM_INTERNAL_CLOCK 0
set ATM_LOOP_TIMED_CLOCK 1
set ATM_DROP_ERRORED_CELLS 0
set ATM_CORRECT_ERRORED_CELLS 1
set ATM_RX_ERRORED_CELLS 2
set ATM_LOOPBACK_DISABLED 0
set ATM_LOOPBACK_LOCAL_PHY 1
set ATM_LOOPBACK_REMOTE_PHY 2
set ATM_LOOPBACK_OUTPUT_TX_RX 1
set ATM_LOOPBACK_INPUT_RX_TX 2
set ATM_DS3_SHORT_BUILDOUT $WAN_DS3_SHORT_BUILDOUT
set ATM_DS3_LONG_BUILDOUT $WAN_DS3_LONG_BUILDOUT
set ATM_DS1_0_TO_133_BUILDOUT $WAN_DS1_0_TO_133_BUILDOUT
set ATM_DS1_133_TO_266_BUILDOUT $WAN_DS1_133_TO_266_BUILDOUT
set ATM_DS1_266_TO_399_BUILDOUT $WAN_DS1_266_TO_399_BUILDOUT
set ATM_DS1_399_TO_533_BUILDOUT $WAN_DS1_399_TO_533_BUILDOUT
set ATM_DS1_533_TO_655_BUILDOUT $WAN_DS1_533_TO_655_BUILDOUT
set ATM_DS1_N7X5_DB_BUILDOUT $WAN_DS1_N7X5_DB_BUILDOUT
set ATM_DS1_N15_DB_BUILDOUT $WAN_DS1_N15_DB_BUILDOUT
set ATM_DS1_N22X5_DB_BUILDOUT $WAN_DS1_N22X5_DB_BUILDOUT
set ATM_E1_BUILDOUT $WAN_E1_BUILDOUT
set ATM_DS1_AMI_ENCODING $WAN_DS1_AMI_ENCODING
set ATM_DS1_B8ZS_ENCODING $WAN_DS1_B8ZS_ENCODING
set ATM_DS1_D4_LINE_FRAMING $WAN_DS1_D4_LINE_FRAMING
set ATM_DS1_ESF_LINE_FRAMING $WAN_DS1_ESF_LINE_FRAMING
set ATM_E1_AMI_ENCODING $WAN_E1_AMI_ENCODING
set ATM_E1_HDB3_ENCODING $WAN_E1_HDB3_ENCODING
set ATM_CELL_TIME_FRAC 8
set STR_CONN_TYPE_PVC 0
set STR_CONN_TYPE_SVC 1
set STR_CONN_TYPE_INCOMING_SVC 2
set STR_ENCAP_TYPE_NULL 0
set STR_ENCAP_TYPE_LANE_802_3 1
set STR_ENCAP_TYPE_LANE_802_5 2
set STR_ENCAP_TYPE_RFC1577 3
set STR_ENCAP_TYPE_LLC_PPP 4
set STR_ENCAP_TYPE_VC_MULTIPLEXED_PPP 5
set STR_ENCAP_TYPE_LLC_PPPOE 6
set STR_ENCAP_TYPE_LLC_VCM_PPPOE 7
set STR_RATE_CLASS_CBR 0
set STR_RATE_CLASS_VBR 1
set STR_RATE_CLASS_UBR 2
set STR_RATE_CLASS_ABR 3
set FRAME_FLAG_CRC32_ERROR 0x00000001
set FRAME_FLAG_LENGTH_ERROR 0x00000002
set FRAME_FLAG_SOURCE_FRAME_FOR_COPY 0x00000004
set ATM_CONN_TYPE_PVC 0
set ATM_CONN_TYPE_SVC 1
set ATM_RATE_CLASS_CBR 0
set ATM_RATE_CLASS_VBR 1
set ATM_RATE_CLASS_UBR 2
set ATM_RATE_CLASS_ABR 3
set ATM_CALL_DIST_SMOOTH 0
set ATM_CALL_DIST_BURSTY 1
set ATM_CALL_DIST_RANDOM 2
set ATM_CALL_LENGTH_CONST 0
set ATM_CALL_LENGTH_CONST_FROM_SETUP 1
set ATM_CALL_LENGTH_RANDOM 2
set ATM_CALL_LENGTH_FOREVER 3
set ATM_CALL_LENGTH_FOREVER_FREE 4
set ATM_CALL_TMR_TICKS_PER_SEC 1000
set ATM_CALL_TMR_TICK_RESOLUTION 1000000
set ATM_CALL_PARAM_CONN_TYPE 0
set ATM_CALL_PARAM_RATE_CLASS 1
set ATM_CALL_PARAM_PCR 2
set ATM_CALL_PARAM_SCR 3
set ATM_CALL_PARAM_MBS 4
set ATM_CALL_PARAM_CDVT 5
set ATM_CALL_PARAM_CELL_HEADER 6
set ATM_CALL_PARAM_CALL_SETUP_PARAMS_INDEX 7
set ATM_CALL_PARAM_CALL_ADDR_INDEX 8
set ATM_CALL_PARAM_CALL_DIST_TYPE 9
set ATM_CALL_PARAM_CALL_LENGTH_TYPE 10
set ATM_CALL_PARAM_CALL_STOP_ON_ERROR 11
set ATM_CALL_PARAM_CALL_LOG_EVENTS 12
set ATM_CALL_PARAM_CELL_LOAD_GEN_ENABLE 13
set ATM_CALL_PARAM_CALL_DELAY_FROM_START 14
set ATM_CALL_PARAM_CALL_COUNT_LIMIT 15
set ATM_CALL_PARAM_CALL_LENGTH 16
set ATM_CALL_PARAM_CALL_LENGTH_RND_DELTA 17
set ATM_CALL_PARAM_INTER_CALL_GAP 18
set ATM_CALL_PARAM_INTER_CALL_GAP_RND_DELTA 19
set ATM_CALL_PARAM_BURST_COUNT 20
set ATM_CALL_PARAM_INTER_BURST_GAP 21
set ATM_MAX_CALL_SETUP_PARAMS 64
set ATM_TD_QUAL_PEAK_RATES 0
set ATM_TD_QUAL_PEAK_RATES_W_TAG 1
set ATM_TD_COMBO_RATES 2
set ATM_TD_COMBO_RATES_W_TAG 3
set ATM_TD_AGGR_PEAK_RATE 4
set ATM_TD_AGGR_COMBO_RATES 5
set ATM_TD_BEST_EFFORT 6
set ATM_TD_NONE 7
set ATM_TD_ABR 7
set ATM_QOS_CLASS_0 0
set ATM_QOS_CLASS_1 1
set ATM_QOS_CLASS_2 2
set ATM_QOS_CLASS_3 3
set ATM_QOS_CLASS_4 4
set ATM_B_BC_CLASS_X 16
set ATM_B_BC_CLASS_A 1
set ATM_B_BC_CLASS_C 3
set ATM_B_BC_CLASS_VP 24
set ATM_B_BC_NO_TIMING_INFO 0
set ATM_B_BC_END_TO_END_TIMING 1
set ATM_B_BC_NO_END_TO_END_TIMING 2
set ATM_B_BC_TYPE_NONE 0
set ATM_B_BC_TYPE_CBR 4
set ATM_B_BC_TYPE_VBR 8
set ATM_B_BC_UNI40_NONE 0
set ATM_B_BC_UNI40_CBR 5
set ATM_B_BC_UNI40_CBR_01 7
set ATM_B_BC_UNI40_REAL_TIME_VBR 9
set ATM_B_BC_UNI40_REAL_TIME_VBR_01 19
set ATM_B_BC_UNI40_NON_REAL_TIME_VBR 10
set ATM_B_BC_UNI40_NON_REAL_TIME_VBR_01 11
set ATM_B_BC_UNI40_ABR 12
set ATM_B_BC_SUSC_CLIP 32
set ATM_B_BC_NOT_SUSC_CLIP 0
set ILMI_DEFAULT_TMR_COLD_START 500
set ILMI_DEFAULT_TMR_REG_TIMEOUT 500
set ILMI_TMR_TICKS_PER_SEC 100
set ILMI_TMR_TICK_RESOLUTION $ILMI_TMR_TICKS_PER_SEC
set SSCOP_DEFAULT_MAX_CC 4
set SSCOP_DEFAULT_MAX_PD 25
set SSCOP_DEFAULT_MAX_STAT 67
set SSCOP_DEFAULT_MAX_RESEQ 16
set SSCOP_DEFAULT_RX_WINDOW 32
set SSCOP_DEFAULT_TMR_CC 100
set SSCOP_DEFAULT_TMR_KEEP_ALIVE 200
set SSCOP_DEFAULT_TMR_NO_RESP_3_0 1000
set SSCOP_DEFAULT_TMR_POLL_3_0 10
set SSCOP_DEFAULT_TMR_NO_RESP_3_1 700
set SSCOP_DEFAULT_TMR_POLL_3_1 75
set SSCOP_DEFAULT_TMR_IDLE 1500
set SSCOP_TMR_TICKS_PER_SEC 100
set SSCOP_TMR_TICK_RESOLUTION $SSCOP_TMR_TICKS_PER_SEC
set UNI_VERSION_3_0_USER 0x00000030
set UNI_VERSION_3_1_USER 0x00000031
set UNI_VERSION_3_0_NET 0x80000030
set UNI_VERSION_3_1_NET 0x80000031
set UNI_VERSION_4_0_USER 0x00000040
set UNI_VERSION_4_0_NET 0x80000040
set UNI_VERSION_NET_MASK 0x80000000
set UNI_DEFAULT_TMR_T303 400
set UNI_DEFAULT_TMR_T308 3000
set UNI_DEFAULT_TMR_T310 1000
set UNI_DEFAULT_TMR_T313 400
set UNI_DEFAULT_TMR_T322 400
set UNI_DEFAULT_TMR_T398 400
set UNI_DEFAULT_TMR_T399 1400
set UNI_DEFAULT_TMR_T309_3_0 9000
set UNI_DEFAULT_TMR_T309_3_1 1000
set UNI_DEFAULT_TMR_T316 12000
set UNI_DEFAULT_TMR_T317 18000
set UNI_DEFAULT_TMR_TEARDOWN 1
set UNI_TMR_TICKS_PER_SEC 100
set UNI_TMR_TICK_RESOLUTION $UNI_TMR_TICKS_PER_SEC
set ATM_MAX_ELAN_NAME 32
set ATM_MAX_ELANS 8
set ATM_ELAN_INIT_NORMAL 0
set ATM_ELAN_INIT_LECS_DIRECT 1
set ATM_ELAN_INIT_LES_DIRECT 2
set ATM_ELAN_TYPE_802_3 0
set ATM_ELAN_TYPE_802_5 1
set ATM_ELAN_MTU_UNSPEC 0
set ATM_ELAN_MTU_1516 1
set ATM_ELAN_MTU_4544 2
set ATM_ELAN_MTU_9234 3
set ATM_ELAN_MTU_18190 4
set ATM_ELAN_MIN_CONTROL_TIMEOUT 10
set ATM_ELAN_DEFAULT_CONTROL_TIMEOUT 120
set ATM_ELAN_MAX_CONTROL_TIMEOUT 300
set ATM_ELAN_MIN_ARP_RETRY_COUNT 0
set ATM_ELAN_DEFAULT_ARP_RETRY_COUNT 1
set ATM_ELAN_MAX_ARP_RETRY_COUNT 2
set ATM_ELAN_MIN_AGING_TIME 10
set ATM_ELAN_DEFAULT_AGING_TIME 300
set ATM_ELAN_MAX_AGING_TIME 300
set ATM_ELAN_MIN_ARP_RESPONSE_TIME 1
set ATM_ELAN_DEFAULT_ARP_RESPONSE_TIME 1
set ATM_ELAN_MAX_ARP_RESPONSE_TIME 30
set ATM_STR_ACTION_RESET 0
set ATM_STR_ACTION_CONNECT 1
set ATM_STR_ACTION_DISCONNECT 2
set ATM_STR_ACTION_START 3
set ATM_STR_ACTION_STOP 4
set ATM_TRIGGER_MODE_CELL 0
set ATM_TRIGGER_MODE_AAL5 1
set ATM_TRIGGER_DIR_RX 0
set ATM_TRIGGER_DIR_TX 1
set ATM_COMP1_ONLY 0
set ATM_COMP2_ONLY 1
set ATM_COMP1_AND_COMP2 2
set ATM_COMP1_OR_COMP2 3
set ATM_TXD_MEMORY_FAILURE 0x0080
set ATM1_MAIN_FW_VERSION 0
set ATM1_SAR_BOOT_FW_VERSION 1
set ATM1_SAR_MAIN_FW_VERSION 2
set ATM1_PCI_FPGA_VERSION 3
set ATM1_GAP_FPGA_VERSION 4
set ATM1_BPTRG_FPGA_VERSION 5
set ATM1_AM29240_VERSION 6
set ATM1_BT8222_VERSION 7
set ATM1_L64363_VERSION 8
set ATM2_MAIN_FW_VERSION 0
set ATM2_SAR_FW_VERSION 1
set ATM2_SAR_FPGA_VERSION 2
set ATM2_TXQ_FPGA_VERSION 3
set ATM2_TXD_FPGA_VERSION 4
set ATM2_RXT_FPGA_VERSION 5
set ATM2_RXD_FPGA_VERSION 6
set ATM_FRAMER_PART_NUM_FAILURE 0x0001
set ATM_FRAMER_CONFIG_FAILURE 0x0002
set ATM_SAR_IMAGE_CHECK_FAILURE 0x0004
set ATM_SAR_PCI_FAILURE 0x0008
set ATM_SAR_BOOT_FAILURE 0x0010
set ATM_SAR_MEMORY_FAILURE 0x0020
set ATM_SAR_CONFIG_FAILURE 0x0040
set ATM_FEATURES_GLOBAL_TRIGGERS 0x0000
set ATM_FEATURES_PER_CONN_TRIGGERS 0x0001
set ATM_FEATURES_PER_CONN_BURST 0x0002
set ATM_FEATURES_PER_PORT_BURST 0x0004
set ATM_FEATURES_PROTOCOL_TRACE 0x0008
set ATM_FEATURES_STREAM_COPY_PASTE 0x0010
set ATM_FEATURES_MULTI_BURST 0x0040
set ATM_UNI_VERSION_40 40
set ATM_SONET_TIMEOUT 5
set SONET_SECTION_LOS_ALARM 0x0001
set SONET_SECTION_OOF_ALARM 0x0002
set SONET_SECTION_LOF_ALARM 0x0004
set SONET_LINE_AIS_ALARM 0x0008
set SONET_LINE_FERF_ALARM 0x0010
set SONET_LINE_LOP_ALARM 0x0020
set SONET_PATH_AIS_ALARM 0x0040
set SONET_PATH_FERF_ALARM 0x0080
set SONET_PATH_YELLOW_ALARM 0x0100
set SONET_LOCD_ALARM 0x0200
set ATM25_LOS_ALARM 0x0001
set ATM_DS3_E3_LOCD_ALARM 0x0001
set ATM_ATM_DS3_E3_OOF_ALARM 0x0002
set ATM_DS3_E3_FERF_ALARM 0x0004
set ATM_DS3_E3_AIS_ALARM 0x0008
set ATM_DS3_E3_IDLE_ALARM 0x0010
set ATM_DS3_E3_LOS_ALARM 0x0020
set ATM_DS3_E3_YELLOW_ALARM 0x0040
set ATM_DS3_E3_PLCP_OOF_ALARM 0x0080
set ATM_DS3_E3_PLCP_LOF_ALARM 0x0100
set ATM_DS3_E3_PLCP_YELLOW_ALARM 0x0200
set ATM_DS1_E1_LOCD_ALARM $WAN_DS1_E1_LOCD_ALARM
set ATM_DS1_E1_OOF_ALARM $WAN_DS1_E1_OOF_ALARM
set ATM_DS1_E1_LOS_ALARM $WAN_DS1_E1_LOS_ALARM
set ATM_DS1_E1_YELLOW_ALARM $WAN_DS1_E1_YELLOW_ALARM
set ATM_DS1_E1_AIS_ALARM $WAN_DS1_E1_AIS_ALARM
set ATM_DS1_E1_B8ZS_ALARM $WAN_DS1_E1_B8ZS_ALARM
set ATM_DS1_E1_EXCESS_ZEROS_ALARM $WAN_DS1_E1_EXCESS_ZEROS_ALARM
set ATM_DS1_E1_PLCP_OOF_ALARM $WAN_DS1_E1_PLCP_OOF_ALARM
set ATM_DS1_E1_PLCP_LOF_ALARM $WAN_DS1_E1_PLCP_LOF_ALARM
set ATM_DS1_E1_PLCP_YELLOW_ALARM $WAN_DS1_E1_PLCP_YELLOW_ALARM
set ATM_DS1_E1_SEV_ERROR_FRAME_ALARM $WAN_DS1_E1_SEV_ERROR_FRAME_ALARM
set ATM_STR_STATE_IDLE 0
set ATM_STR_STATE_ADDR_RES_PROCEEDING 1
set ATM_STR_STATE_ADDR_RES_FAILED 2
set ATM_STR_STATE_ADDR_RES_RETRY 3
set ATM_STR_STATE_CONN_PROCEEDING 4
set ATM_STR_STATE_CONN_ESTABLISHED 5
set ATM_STR_STATE_CONN_RELEASED 6
set ATM_STR_STATE_CONN_FAILED 7
set ATM_STR_STATUS_STREAM_INDEX 0
set ATM_STR_STATUS_CONN_INDEX 1
set ATM_STR_STATUS_CELL_HEADER 2
set ATM_STR_STATUS_STREAM_STATE 3
set ATM_STR_STATUS_ARP_RETRY_COUNT 4
set ATM_STR_STATUS_ARP_RESP_LATENCY 5
set ATM_STR_STATUS_SVC_CALL_STATE 6
set ATM_STR_STATUS_SVC_CAUSE_LOC 7
set ATM_STR_STATUS_SVC_CAUSE_CODE 8
set ATM_STR_STATUS_SVC_SETUP_LATENCY 9
set CONN_STATE_IDLE 0
set CONN_STATE_INITIAL_DELAY 1
set CONN_STATE_CALL_PROCEEDING 2
set CONN_STATE_CALL_ESTABLISHED 3
set CONN_STATE_CALL_RELEASED 4
set CONN_STATE_INTER_CALL_DELAY 5
set CONN_STATE_INTER_BURST_DELAY 6
set CONN_STATE_STOPPED 7
set CONN_STATE_STOPPED_ON_ERROR 8
set CALL_STATE_IDLE 0
set CALL_STATE_CALL_INITIATED 1
set CALL_STATE_OUTGOING_CALL_PROC 3
set CALL_STATE_INCOMING_CALL_PRES 6
set CALL_STATE_CONNECT_REQUEST 8
set CALL_STATE_INCOMING_CALL_PROC 9
set CALL_STATE_ACTIVE 10
set CALL_STATE_RELEASE_REQUEST 11
set CALL_STATE_RELEASE_INDICATION 12
set CAUSE_LOC_USER 0
set CAUSE_LOC_PRIV_LOCAL 1
set CAUSE_LOC_PUB_LOCAL 2
set CAUSE_LOC_TRANS_NET 3
set CAUSE_LOC_PUB_REM 4
set CAUSE_LOC_PRIV_REM 5
set CAUSE_LOC_INTL_NET 6
set CAUSE_LOC_NET_BEYOND 7
set CAUSE_UNASSIGNED_NUM 1
set CAUSE_NO_ROUTE_TO_TRANSIT_NET 2
set CAUSE_NO_ROUTE_TO_DEST 3
set CAUSE_VPI_VCI_UNACCEPTABLE 10
set CAUSE_NORMAL_CALL_CLEAR 16
set CAUSE_USER_BUSY 17
set CAUSE_NO_USER_RESPONDING 18
set CAUSE_CALL_REJECTED 21
set CAUSE_NUMBER_CHANGED 22
set CAUSE_CLIR 23
set CAUSE_DEST_OUT_OF_ORDER 27
set CAUSE_INV_NUMBER_FORMAT 28
set CAUSE_RSP_TO_STATUS_ENQ 30
set CAUSE_NORMAL_UNSPEC 31
set CAUSE_VPCI_VCI_UNAVAILABLE 35
set CAUSE_UCR_UNAVAILABLE_3_0 51
set CAUSE_UCR_UNAVAILABLE 37
set CAUSE_VPCI_VCI_ASSIGN_FAIL 36
set CAUSE_TEMP_FAILURE 41
set CAUSE_ACCESS_INF_DISC 43
set CAUSE_NO_VPCI_VCI_AVAILABLE 45
set CAUSE_RES_UNAVAIL 47
set CAUSE_QOS_UNAVAILABLE 49
set CAUSE_BC_NOT_AUTH 57
set CAUSE_BC_NOT_AVAILABLE 58
set CAUSE_OPT_UNAVAILABLE 63
set CAUSE_BC_NOT_IMPLEMENTED 65
set CAUSE_TD_UNSUPPORTED 73
set CAUSE_AAL_NOT_SUPPORTED 78
set CAUSE_AAL_NOT_SUPPORTED_3_0 93
set CAUSE_INV_CALL_REF 81
set CAUSE_CHAN_NO_EXIST 82
set CAUSE_INCOMP_DEST 88
set CAUSE_INV_EP_REF 89
set CAUSE_INV_TRANS_NET 91
set CAUSE_TOO_MANY_PEND_ADD_PARTY 92
set CAUSE_REQ_IE_MISSING 96
set CAUSE_MSG_INV_OR_NOT_AVAIL 97
set CAUSE_IE_INV_OR_NOT_AVAIL 99
set CAUSE_IE_CONTENT_ERROR 100
set CAUSE_MSG_INCOMP_CALL_STATE 101
set CAUSE_TIMER_RECOVERY 102
set CAUSE_INCOR_MSG_LEN 104
set CAUSE_PROTOCOL_ERROR 111
set SETUP_LATENCY_TMR_TICKS_PER_SEC 10000000
set ATM_ILMI_REG_TIMEOUT 20
set ATM_ILMI_UME_INACTIVE 0
set ATM_ILMI_UME_DOWN 1
set ATM_ILMI_UME_COLD_START 2
set ATM_ILMI_UME_RUNNING 3
set ATM_SAAL_TIMEOUT 10
set SSCOP_STATE_IDLE 1
set SSCOP_STATE_OUT_CONN_PEND 2
set SSCOP_STATE_IN_CONN_PEND 3
set SSCOP_STATE_OUT_DISCONN_PEND 4
set SSCOP_STATE_OUT_RESYNC_PEND 5
set SSCOP_STATE_IN_RESYNC_PEND 6
set SSCOP_STATE_OUT_RECOV_PEND 7
set SSCOP_STATE_RECOV_RSP_PEND 8
set SSCOP_STATE_IN_RECOV_PEND 9
set SSCOP_STATE_DATA_XFER_RDY 10
set SSCOP_STATE_CC_RESYNC_PEND 11
set SAAL_STATE_IDLE 1
set SAAL_STATE_CONN_PEND 2
set SAAL_STATE_DISCONN_PEND 3
set SAAL_STATE_CONNECTED 4
set AFSIG_RESTART_IDLE 0
set AFSIG_RESTART_PROCEEDING 1
set AFSIG_RESTART_SUCCESS 2
set AFSIG_RESTART_FAIL 3
set SIG_TRACE_STOP_ON_SEVERE_ERROR 0
set SIG_TRACE_STOP_ON_TRACE_BUFFER_FULL 1
set SIG_EVENT_SAAL_ESTABLISH 1
set SIG_EVENT_SAAL_RELEASE 2
set SIG_EVENT_OUTGOING_SETUP 3
set SIG_EVENT_INCOMING_SETUP 4
set SIG_EVENT_OUTGOING_CONNECT 5
set SIG_EVENT_INCOMING_CONNECT 6
set SIG_EVENT_OUTGOING_RELEASE 7
set SIG_EVENT_INCOMING_RELEASE 8
set ATM_ELAN_INACTIVE 0
set ATM_ELAN_LECS_SVC_WAIT 1
set ATM_ELAN_LECS_CONFIG_WAIT 2
set ATM_ELAN_LES_SVC_WAIT 3
set ATM_ELAN_LES_JOIN_WAIT 4
set ATM_ELAN_BUS_ARP_WAIT 5
set ATM_ELAN_BUS_SVC_WAIT 6
set ATM_ELAN_AVAILABLE 7
set ATM_ELAN_UNAVAILABLE 8
set ATM_CLIP_TIMEOUT 10
set ATM_ARP_CONN_INACTIVE 0
set ATM_ARP_CONN_PROCEEDING 1
set ATM_ARP_CONN_ESTABLISHED 2
set ATM_ARP_CONN_RELEASED 3
set ATM_ARP_CONN_FAILED 4
set SIG_EMUL_NO_TEARDOWN 0
set SIG_EMUL_TEARDOWN 1
set PVCAD_DEFAULT_PORT 0
set PVCAD_DEFAULT_OUTSTANDING_REQID_TIMEOUT 100
set VC_TYPE_PVC 0x01
set VC_TYPE_SVC 0x02
set VCDB_UPDATED 0x00020000
set VCDB_LOSS_OF_TRANS 0x00040000
set VCDB_LOSS_OF_DELETED 0x00080000
set VCDB_RENUMBERED 0x00100000
set VCDB_STATE_NEW 0x01
set VCDB_STATE_MODIFIED 0x02
set VCDB_STATE_DELETED 0x04
set VCDB_STATE_STABLE 0x08
set VCDB_STATE_TRANSITORY 0x10
set PVC_UNKNOWN_STATUS 1
set PVC_END2END_UP_STATUS 2
set PVC_END2END_DOWN_STATUS 3
set PVC_LOCAL_UP_END2END_UNKNOWN_STATUS 4
set PVC_LOCAL_DOWN_STATUS 5
set LOSS_OF_DELETED_FLAG 0x0001
set LOSS_OF_TRANSITORY_FLAG 0x0002
set RENUMBERED_FLAG 0x0004
set IN_SVC_DONT_ADD_TO_DATABASE 0
set IN_SVC_CONN_AS_SNAP_OR_LANE 1
set IN_SVC_CONN_AS_CLIP_OR_LANE 2
set MAX_ATM_BURST_SIZE 0x001FFFFF
set ATM_MAX_PORT_BURST_SIZE 0xFFFFFFFF
set ATM_BURST_DISABLE 0
set ATM_BURST_ENABLE 1
set ATM_MULTI_BURST_ENABLE 2
set ATM_CONT_MULTI_BURST_ENABLE 3
set ATM_STR_PARAM_GEN_RATE_CLASS 0
set ATM_STR_PARAM_GEN_PCR 1
set ATM_STR_PARAM_GEN_SCR 2
set ATM_STR_PARAM_GEN_MBS 3
set ATM_STR_PARAM_GEN_CDVT 4
set ATM_STR_PARAM_SIG_FW_PCR_0 5
set ATM_STR_PARAM_SIG_FW_PCR_01 6
set ATM_STR_PARAM_SIG_FW_SCR_0 7
set ATM_STR_PARAM_SIG_FW_SCR_01 8
set ATM_STR_PARAM_SIG_FW_MBS_0 9
set ATM_STR_PARAM_SIG_FW_MBS_01 10
set ATM_STR_PARAM_SIG_BW_PCR_0 11
set ATM_STR_PARAM_SIG_BW_PCR_01 12
set ATM_STR_PARAM_SIG_BW_SCR_0 13
set ATM_STR_PARAM_SIG_BW_SCR_01 14
set ATM_STR_PARAM_SIG_BW_MBS_0 15
set ATM_STR_PARAM_SIG_BW_MBS_01 16
set ATM_STR_PARAM_SIG_FW_TD_TYPE 17
set ATM_STR_PARAM_SIG_BW_TD_TYPE 18
set ATM_STR_PARAM_SIG_FW_QOS 19
set ATM_STR_PARAM_SIG_BW_QOS 20
set ATM_STR_PARAM_SIG_BC_CLASS 21
set ATM_STR_PARAM_SIG_TIMING 22
set ATM_STR_PARAM_SIG_TRAFFIC_TYPE 23
set ATM_STR_PARAM_SIG_CLIPPING 24
set ATM_STR_PARAM_CELL_HEADER 25
set ATM_STR_PARAM_DEST_ATM_ADDR 26
set ATM_STR_PARAM_DEST_MAC_ADDR 27
set ATM_STR_PARAM_DEST_IP_ADDR 28
set ATM_STR_PARAM_SNAP_HDR 29
set ATM_STR_PARAM_ELAN_INST 30
set SCHED_TYPE_EARLY 0
set SCHED_TYPE_EQUALLY 1
set LOGFILE_CREATE_STOP_ON_FULL 0
set LOGFILE_CREATE_OVERWRITE_ON_FULL 1
set LOGFILE_CLOSE 2
set LOGFILE_CLEAR 3
set LOGFILE_SIZE_512 512
set LOGFILE_SIZE_1024 1024
set LOGFILE_SIZE_2048 2048
set LOGFILE_SIZE_4096 4096
set LOGFILE_SIZE_8192 8192
set LOGFILE_SIZE_12288 12288
set LOGFILE_SIZE_16384 16384
set LOGFILE_SIZE_20480 20480
set PET_SERR 0x00000001
set PET_NERR 0x00000002
set PET_WARN 0x00000004
set PET_ASSERT 0x00000008
set PET_TRAN 0x00000010
set PET_EVENT 0x00000020
set PET_RCTRL 0x00000040
set PET_XCTRL 0x00000080
set PET_RDATA 0x00000100
set PET_XDATA 0x00000200
set PET_TRACE 0x00000400
set PET_TIMER 0x00000800
set PET_MEM 0x00001000
set PET_MSG 0x00002000
set PET_SSCOP_PROT_ERR 0x00000001
set PET_SSCOP_API_TRAFFIC 0x00000002
set PET_SSCOP_HEADLINES 0x00000004
set PET_SSCOP_MSG_TRAFFIC 0x00000008
set PET_SSCOP_STATE_CHANGE 0x00000010
set PET_SSCOP_TMR_ACTIVITY 0x00000020
set PET_SIG_PROT_ERR 0x00000100
set PET_SIG_API_TRAFFIC 0x00000200
set PET_SIG_HEADLINES 0x00000400
set PET_SIG_MSG_TRAFFIC 0x00000800
set PET_SIG_STATE_CHANGE 0x00001000
set PET_SIG_TMR_ACTIVITY 0x00002000
set BURST_DISABLE 0
set BURST_ENABLE 1
set MAX_ATM_PORT_BURST_SIZE 0xFFFFFFFF
set _L3_ITEMS_H_ 1
set L3_DEFINE_SMARTBITS_STREAM $NS_DEFINE_SMARTBITS_STREAM
set L3_DEFINE_SMARTBITS_128_STREAM $NS_DEFINE_SMARTBITS_128_STREAM
set L3_DEFINE_802_3_STREAM $NS_DEFINE_802_3_STREAM
set L3_DEFINE_IP_STREAM $NS_DEFINE_IP_STREAM
set L3_DEFINE_IPX_STREAM $NS_DEFINE_IPX_STREAM
set L3_DEFINE_UDP_STREAM $NS_DEFINE_UDP_STREAM
set L3_DEFINE_TCP_STREAM $NS_DEFINE_TCP_STREAM
set L3_DEFINE_IP_STREAM_VLAN $NS_DEFINE_IP_STREAM_VLAN
set L3_DEFINE_UDP_STREAM_VLAN $NS_DEFINE_UDP_STREAM_VLAN
set L3_DEFINE_TCP_STREAM_VLAN $NS_DEFINE_TCP_STREAM_VLAN
set L3_DEFINE_SMART_TCP_STREAM $NS_DEFINE_SMART_TCP_STREAM
set L3_DEFINE_ICMP_STREAM $NS_DEFINE_ICMP_STREAM
set L3_DEFINE_STREAM_EXTENSION $NS_DEFINE_STREAM_EXTENSION
set L3_DEFINE_RTP_STREAM $NS_DEFINE_RTP_STREAM
set L3_DEFINE_RTP_STREAM_VLAN $NS_DEFINE_RTP_STREAM_VLAN
set L3_DEFINE_STREAM_MPLS $NS_DEFINE_STREAM_MPLS
set L3_DEFINE_VFD $NS_DEFINE_VFD
set L3_DEFINE_MPLS $NS_DEFINE_MPLS
set L3_MOD_MPLS $NS_MOD_MPLS
set L3_DEFINE_MULTI_SMARTBITS_STREAM $NS_DEFINE_MULTI_SMARTBITS_STREAM
set L3_DEFINE_MULTI_SMARTBITS_128_STREAM $NS_DEFINE_MULTI_SMARTBITS_128_STREAM
set L3_DEFINE_MULTI_802_3_STREAM $NS_DEFINE_MULTI_802_3_STREAM
set L3_DEFINE_MULTI_IP_STREAM $NS_DEFINE_MULTI_IP_STREAM
set L3_DEFINE_MULTI_IPX_STREAM $NS_DEFINE_MULTI_IPX_STREAM
set L3_DEFINE_MULTI_UDP_STREAM $NS_DEFINE_MULTI_UDP_STREAM
set L3_DEFINE_MULTI_TCP_STREAM $NS_DEFINE_MULTI_TCP_STREAM
set L3_DEFINE_MULTI_IP_STREAM_VLAN $NS_DEFINE_MULTI_IP_STREAM_VLAN
set L3_DEFINE_MULTI_UDP_STREAM_VLAN $NS_DEFINE_MULTI_UDP_STREAM_VLAN
set L3_DEFINE_MULTI_TCP_STREAM_VLAN $NS_DEFINE_MULTI_TCP_STREAM_VLAN
set L3_DEFINE_MULTI_SMART_TCP_STREAM $NS_DEFINE_MULTI_SMART_TCP_STREAM
set L3_DEFINE_MULTI_ICMP_STREAM $NS_DEFINE_MULTI_ICMP_STREAM
set L3_DEFINE_MULTI_STREAM_EXTENSION $NS_DEFINE_MULTI_STREAM_EXTENSION
set L3_DEFINE_MULTI_RTP_STREAM $NS_DEFINE_MULTI_RTP_STREAM
set L3_DEFINE_MULTI_RTP_STREAM_VLAN $NS_DEFINE_MULTI_RTP_STREAM_VLAN
set L3_DEFINE_MULTI_VFD $NS_DEFINE_MULTI_VFD
set L3_MOD_SMARTBITS_STREAM $NS_MOD_SMARTBITS_STREAM
set L3_MOD_SMARTBITS_128_STREAM $NS_MOD_SMARTBITS_128_STREAM
set L3_MOD_802_3_STREAM $NS_MOD_802_3_STREAM
set L3_MOD_IP_STREAM $NS_MOD_IP_STREAM
set L3_MOD_IPX_STREAM $NS_MOD_IPX_STREAM
set L3_MOD_UDP_STREAM $NS_MOD_UDP_STREAM
set L3_MOD_TCP_STREAM $NS_MOD_TCP_STREAM
set L3_MOD_IP_STREAM_VLAN $NS_MOD_IP_STREAM_VLAN
set L3_MOD_UDP_STREAM_VLAN $NS_MOD_UDP_STREAM_VLAN
set L3_MOD_TCP_STREAM_VLAN $NS_MOD_TCP_STREAM_VLAN
set L3_MOD_SMART_TCP_STREAM $NS_MOD_SMART_TCP_STREAM
set L3_MOD_ICMP_STREAM $NS_MOD_ICMP_STREAM
set L3_MOD_STREAM_EXTENSION $NS_MOD_STREAM_EXTENSION
set L3_MOD_RTP_STREAM $NS_MOD_RTP_STREAM
set L3_MOD_RTP_STREAM_VLAN $NS_MOD_RTP_STREAM_VLAN
set L3_MOD_VFD $NS_MOD_VFD
set L3_MOD_STREAMS_DELTA $NS_MOD_STREAMS_DELTA
set L3_MOD_STREAMS_ARRAY $NS_MOD_STREAMS_ARRAY
set L3_MOD_SMARTBITS_STREAMS $NS_MOD_SMARTBITS_STREAMS
set L3_MOD_802_3_STREAMS $NS_MOD_802_3_STREAMS
set L3_MOD_IP_STREAMS $NS_MOD_IP_STREAMS
set L3_MOD_IPX_STREAMS $NS_MOD_IPX_STREAMS
set L3_MOD_UDP_STREAMS $NS_MOD_UDP_STREAMS
set L3_MOD_TCP_STREAMS $NS_MOD_TCP_STREAMS
set L3_MOD_SMART_TCP_STREAMS $NS_MOD_SMART_TCP_STREAMS
set L3_MOD_ICMP_STREAMS $NS_MOD_ICMP_STREAMS
set L3_MOD_RTP_STREAMS $NS_MOD_RTP_STREAMS
set L3_MOD_UDPDHCP_STREAMS $NS_MOD_UDPDHCP_STREAMS
set L3_MOD_IP_STREAMS_VLAN $NS_MOD_IP_STREAMS_VLAN
set L3_MOD_UDP_STREAMS_VLAN $NS_MOD_UDP_STREAMS_VLAN
set L3_MOD_TCP_STREAMS_VLAN $NS_MOD_TCP_STREAMS_VLAN
set L3_MOD_RTP_STREAMS_VLAN $NS_MOD_RTP_STREAMS_VLAN
set L3_CAPTURE_SETUP 0x1057
set L3_VOICE_TEST_SETUP $NS_VOICE_TEST_SETUP
set L3_TX_ADDRESS $NS_TX_ADDRESS
set L3_DEFINED_STREAM_COUNT_INFO $NS_STREAM_COUNT_INFO
set L3_STREAM_INFO 0x1510
set L3_STREAM_128_INFO 0x1075
set L3_V2_STREAM_INFO $NS_V2_STREAM_INFO
set L3_VFD_INFO $NS_VFD_INFO
set L3_TX_ADDRESS_INFO $NS_TX_ADDRESS_INFO
set L3_ARP_TIMES_INFO $NS_ARP_TIMES_INFO
set L3_HIST_ACTIVE_TEST_INFO $NS_HIST_ACTIVE_TEST_INFO
set L3_HIST_SEQUENCE_INFO $NS_HIST_SEQUENCE_INFO
set L3_HIST_LATENCY_INFO $NS_HIST_LATENCY_INFO
set L3_HIST_LATENCY_PER_STREAM_INFO $NS_HIST_LATENCY_PER_STREAM_INFO
set L3_HIST_V1_LATENCY_PER_STREAM_INFO $NS_HIST_V1_LATENCY_PER_STREAM_INFO
set L3_HIST_LATENCY_DISTRIBUTION_INFO $NS_HIST_LATENCY_DISTRIBUTION_INFO
set L3_HIST_RAW_TAGS_INFO $NS_HIST_RAW_TAGS_INFO
set L3_HIST_V2_LATENCY_INFO $NS_HIST_V2_LATENCY_INFO
set L3_HIST_V2_LATENCY_PER_STREAM_INFO $NS_HIST_V2_LATENCY_PER_STREAM_INFO
set L3_HIST_MC_LATENCY_PER_STREAM_INFO $NS_HIST_MC_LATENCY_PER_STREAM_INFO
set L3_MULTICAST_COUNTER_INFO $NS_MULTICAST_COUNTER_INFO
set L3_HIST_JITTER_COMBO_INFO $NS_HIST_JITTER_COMBO_INFO
set L3_HIST_ACTIVE_TEST_EXPRESS_INFO $NS_HIST_ACTIVE_TEST_EXPRESS_INFO
set L3_HIST_SEQUENCE_EXPRESS_INFO $NS_HIST_SEQUENCE_EXPRESS_INFO
set L3_HIST_SUMMARY_INFO $NS_HIST_SUMMARY_INFO
set L3_AGGREGATE_INFO $NS_AGGREGATE_INFO
set L3_AGGR_SEQUENCE_INFO $NS_AGGR_SEQUENCE_INFO
set L3_AGGR_LATENCY_INFO $NS_AGGR_LATENCY_INFO
set L3_AGGR_LATENCY_PER_STREAM_INFO $NS_AGGR_LATENCY_PER_STREAM_INFO
set L3_AGGR_LATENCY_DISTRIBUTION_INFO $NS_AGGR_LATENCY_DISTRIBUTION_INFO
set L3_AGGR_RAW_TAGS_INFO $NS_AGGR_RAW_TAGS_INFO
set L3_AGGR_V2_LATENCY_INFO $NS_AGGR_V2_LATENCY_INFO
set L3_AGGR_V2_LATENCY_PER_STREAM_INFO $NS_AGGR_V2_LATENCY_PER_STREAM_INFO
set L3_AGGR_MC_LATENCY_PER_STREAM_INFO $NS_AGGR_MC_LATENCY_PER_STREAM_INFO
set L3_CAPTURE_COUNT_INFO [expr ($NS_BASE_NUM+8)]
set L3_CAPTURE_PACKET_DATA_INFO $NS_CAPTURE_PACKET_DATA_INFO
set L3_CAPTURE_PACKET_DATA_INFO_MT 0x01
set L3_CAPTURE_DETAIL_INFO $NS_CAPTURE_DETAIL_INFO
set L3_RTP_COUNTER_INFO $NS_RTP_COUNTER_INFO
set L3_HIST_START $NS_HIST_START
set L3_HIST_SEQUENCE $NS_HIST_SEQUENCE
set L3_HIST_LATENCY $NS_HIST_LATENCY
set L3_HIST_LATENCY_PER_STREAM $NS_HIST_LATENCY_PER_STREAM
set L3_HIST_V1_LATENCY_PER_STREAM $NS_HIST_V1_LATENCY_PER_STREAM
set L3_HIST_LATENCY_DISTRIBUTION $NS_HIST_LATENCY_DISTRIBUTION
set L3_HIST_V2_LATENCY_DISTRIBUTION $NS_HIST_V2_LATENCY_DISTRIBUTION
set L3_HIST_RAW_TAGS $NS_HIST_RAW_TAGS
set L3_HIST_V2_LATENCY $NS_HIST_V2_LATENCY
set L3_HIST_V2_LATENCY_PER_STREAM $NS_HIST_V2_LATENCY_PER_STREAM
set L3_HIST_LATENCY_PRECISION $NS_HIST_LATENCY_PRECISION
set L3_HIST_MULTICAST_LATENCY $NS_HIST_MULTICAST_LATENCY
set L3_HIST_JITTER_COMBO $NS_HIST_JITTER_COMBO
set L3_HIST_TCP_CONNECTION $NS_HIST_TCP_CONNECTION
set L3_HIST_ACTIVE_TEST_PREP $NS_HIST_ACTIVE_TEST_PREP
set L3_HIST_SEQUENCE_PREP $NS_HIST_SEQUENCE_PREP
set L3_START_ARPS $NS_START_ARPS
set L3_IGMP_RESET 0x7024
set L3_IGMP_INIT 0x7025
set L3_IGMP_JOIN 0x7026
set L3_IGMP_LEAVE 0x7027
set L3_IGMP_JOIN_LEAVE_TIMESTAMP_INFO 0x7028
set L3_CAPTURE_OFF_TYPE $NS_CAPTURE_OFF_TYPE
set L3_CAPTURE_ALL_TYPE $NS_CAPTURE_ALL_TYPE
set L3_CAPTURE_BAD_TYPE $NS_CAPTURE_BAD_TYPE
set L3_CAPTURE_SPECIAL_TYPE $NS_CAPTURE_SPECIAL_TYPE
set L3_CAPTURE_TRIGGERS_TYPE $NS_CAPTURE_TRIGGERS_TYPE
set L3_CAPTURE_STOP 0x2015
set L3_CAPTURE_START 0x2016
set L3_DELETE_STREAM $NS_DELETE_STREAM
set L3_SET_STREAM_STATE $NS_SET_STREAM_STATE
set L3_ARP_UNRESOLVED $NS_ARP_UNRESOLVED
set L3_ARP_ONE_STREAM $NS_ARP_ONE_STREAM
set L3_SET_START_STREAM $NS_SET_START_STREAM
set L3_SET_ARP_GAP $NS_SET_ARP_GAP
set L3_ENABLE_TAGS_ALL_STREAMS $NS_ENABLE_TAGS_ALL_STREAMS
set L3_DISABLE_TAGS_ALL_STREAMS $NS_DISABLE_TAGS_ALL_STREAMS
set L3_ENABLE_TAG $NS_ENABLE_TAG
set L3_DISABLE_TAG $NS_DISABLE_TAG
set L3_USB_MODE_ON $NS_USB_MODE_ON
set L3_USB_MODE_OFF $NS_USB_MODE_OFF
set L3_ETHERNET_MODE_ON $NS_ETHERNET_MODE_ON
set L3_USB_MODE_CMD 0x00
set L3_USB_ON 0x00
set L3_USB_OFF 0x01
set L3_ETHERNET_ON 0x01
set L3_USB_INFO_CMD 0x01
set L3_USB_GET_USB_INFO $NS_USB_GET_USB_INFO
set L3_USB_SET_POWER $NS_USB_SET_POWER
set L3_RNDIS_MODE_ON $NS_RNDIS_MODE_ON
set L3_RNDIS_MODE_CMD 0x00
set L3_RNDIS_ON 0x02
set L3_DHCP_GET_ADDRESS $NS_DHCP_GET_ADDRESS
set L3_DHCP_GET_ADDRESS_ALL $NS_DHCP_GET_ADDRESS_ALL
set L3_DHCP_RELEASE_ADDRESS $NS_DHCP_RELEASE_ADDRESS
set L3_DHCP_RELEASE_ADDRESS_ALL $NS_DHCP_RELEASE_ADDRESS_ALL
set L3_DHCP_STATS_INFO $NS_DHCP_STATS_INFO
set L3_DHCP_HOST_INFO $NS_DHCP_HOST_INFO
set L3_DHCP_EXTENDED_HOST_INFO $NS_DHCP_EXTENDED_HOST_INFO
set L3_DHCP_ACTION $NS_DHCP_ACTION
set L3_DHCP_STATE $NS_DHCP_STATE
set L3_DHCP_STREAM_COUNT_INFO $NS_DHCP_STREAM_COUNT_INFO
set L3_DHCP_CONFIG $NS_DHCP_CONFIG
set L3_DHCP_ACTION_DISCOVER 0
set L3_DHCP_ACTION_REBOOT 1
set L3_DHCP_ACTION_RENEW 2
set L3_DHCP_ACTION_RELEASE 3
set L3_DHCP_ACTION_DECLINE 4
set L3_DHCP_ACTION_DONE 5
set L3_DHCP_STATE_UNDEFINED 0
set L3_DHCP_STATE_INIT 1
set L3_DHCP_STATE_SELECTING 2
set L3_DHCP_STATE_REBOOT 3
set L3_DHCP_STATE_REBOOTING 4
set L3_DHCP_STATE_REQUESTING 5
set L3_DHCP_STATE_RENEW 6
set L3_DHCP_STATE_RENEWING 7
set L3_DHCP_STATE_BOUND 8
set L3_DHCP_STATE_REBINDING 9
set L3_DHCP_STATE_RELEASING 10
set L3_STREAM_SMARTBITS $STREAM_PROTOCOL_SMARTBITS
set L3_STREAM_8023 $STREAM_PROTOCOL_8023
set L3_STREAM_IP $STREAM_PROTOCOL_IP
set L3_STREAM_IP_VLAN $STREAM_PROTOCOL_IP_VLAN
set L3_STREAM_IPX $STREAM_PROTOCOL_IPX
set L3_STREAM_UDP $STREAM_PROTOCOL_UDP
set L3_STREAM_UDP_VLAN $STREAM_PROTOCOL_UDP_VLAN
set L3_STREAM_TCP $STREAM_PROTOCOL_TCP
set L3_STREAM_TCP_VLAN $STREAM_PROTOCOL_TCP_VLAN
set L3_STREAM_SMART_TCP $STREAM_PROTOCOL_SMART_TCP
set L3_STREAM_ICMP $STREAM_PROTOCOL_ICMP
set L3_STREAM_PPP $STREAM_PROTOCOL_PPP
set L3_STREAM_RTP $STREAM_PROTOCOL_RTP
set L3_STREAM_RTP_VLAN $STREAM_PROTOCOL_RTP_VLAN
set L3_MODIFY_STREAM_ARRAY_SIZE 8192
set L3_GROUP_DELETE_GROUP $NS_GROUP_DELETE_GROUP
set L3_GROUP_SET_GROUP $NS_GROUP_SET_GROUP
set L3_MAX_GROUP_SIZE 100
set L3_STREAM_GROUP_DEFINE $NS_STREAM_GROUP_DEFINE
set L3_STREAM_GROUP_DELETE $NS_STREAM_GROUP_DELETE
set L3_STREAM_TRANSMIT_MODE $NS_STREAM_TRANSMIT_MODE
set L3_STREAM_TRANSMIT_MODE_INFO $NS_STREAM_TRANSMIT_MODE_INFO
set L3_STREAM_TRANSMIT_STREAM_MODE 0
set L3_STREAM_TRANSMIT_GROUP_MODE 1
set L3MS_FIELD_DMAC 0
set L3MS_FIELD_SMAC 1
set L3MS_FIELD_TTL 2
set L3MS_FIELD_ISEQNUM 3
set L3MS_FIELD_DIP 4
set L3MS_FIELD_SIP 5
set L3MS_FIELD_NETMASK 6
set L3MS_FIELD_GATEWAY 7
set L3MS_FIELD_SPRT 8
set L3MS_FIELD_DPRT 9
set L3MS_FIELD_FRAMELEN 10
set L3MS_FIELD_DIPA 11
set L3MS_FIELD_DIPB 12
set L3MS_FIELD_DIPC 13
set L3MS_FIELD_DIPD 14
set L3MS_FIELD_SIPA 15
set L3MS_FIELD_SIPB 16
set L3MS_FIELD_SIPC 17
set L3MS_FIELD_SIPD 18
set L3MS_FIELD_GATEWAYA 19
set L3MS_FIELD_GATEWAYB 20
set L3MS_FIELD_GATEWAYC 21
set L3MS_FIELD_GATEWAYD 22
set L4MS_FIELD_VLANID 23
set L4MS_FIELD_TCP_SEQUENCE 24
set L4MS_FIELD_TCP_WINDOW 25
set L4MS_FIELD_TCP_FLAGS 26
set L4MS_FIELD_TCP_LENGTH 27
set L3MS_FIELD_STREAM_ACTIVE 28
set L4MS_FIELD_STARTING_OFFSET 29
set L3MS_FIELD_RTP_SSRC 30
set L3MS_FIELD_RTP_PT 31
set L3MS_FIELD_STREAM_SIGNATURE 32
set L3MS_FIELD_STREAM_START 33
set L3MS_FIELD_IP_MAN_MODE 34
set L3MS_FIELD_IP_BITS_OFFSET 35
set L3MS_FIELD_IP_LIMIT_COUNT 36
set L3MS_FIELD_DMAC_BYTE01 37
set L3MS_FIELD_SMAC_BYTE01 38
set L3MS_FIELD_FRAME_RATE 39
set L3_CTRL_ARP_RESPONSES 0x01
set L3_CTRL_PING_RESPONSES 0x02
set L3_CTRL_SNMP_OR_RIP_RESPONSES 0x04
set L3_CAPTURE_STATUS_CRC 0x01
set L3_CAPTURE_STATUS_VLAN 0x02
set L3_CAPTURE_STATUS_TRIGGER 0x04
set L3_CAPTURE_STATUS_SIGNATURE_TAG 0x08
set L3_CAPTURE_STATUS_ALIGNMENT 0x80
set CAPTURE_MODE_FILTER_ON_EVENTS 0
set CAPTURE_MODE_START_ON_EVENTS 1
set CAPTURE_MODE_STOP_ON_EVENTS 2
set CAPTURE_LENGTH_ENTIRE_FRAME 0
set CAPTURE_LENGTH_1ST_64_BYTES 1
set CAPTURE_LENGTH_LAST_64_BYTES 2
set CAPTURE_LENGTH_1ST_128_BYTES 3
set CAPTURE_LENGTH_LAST_128_BYTES 4
set CAPTURE_EVENTS_CRC_ERRORS 0x00000001
set CAPTURE_EVENTS_UNDERSIZE 0x00000002
set CAPTURE_EVENTS_OVERSIZE 0x00000004
set CAPTURE_EVENTS_VLAN_TAG 0x00000008
set CAPTURE_EVENTS_IP_CHECKSUM_ERROR 0x00000010
set CAPTURE_EVENTS_DATA_INTEGRITY_ERROR 0x00000020
set CAPTURE_EVENTS_RX_TRIGGER 0x00000040
set CAPTURE_EVENTS_RUNNING_DISPARITY_ERRORS 0x00000080
set CAPTURE_EVENTS_ABORT 0x00000090
set CAPTURE_EVENTS_COLLISIONS 0x00000100
set CAPTURE_EVENTS_ALIGNMENT_ERRORS 0x00000200
set CAPTURE_EVENTS_OUT_OF_SEQUENCE 0x00000400
set CAPTURE_EVENTS_SIGNATURE 0x00000800
set CAPTURE_EVENTS_NO_SIGNATURE 0x00001000
set CAPTURE_EVENTS_FILTER_FRAME_LENGTH 0x00002000
set CAPTURE_EVENTS_ALL_FRAMES 0xFFFFFFFF
set L3_HIST_TEST_SEQUENCE 1
set L3_HIST_TEST_LATENCY_DISTRIBUTION 4
set L3_HIST_TEST_RAW_TAGS 5
set L3_HIST_TEST_V2_LATENCY 6
set L3_HIST_TEST_V2_LATENCY_PER_STREAM 7
set L3_HIST_TEST_V1_LATENCY_PER_STREAM 10
set IGMP_INIT_ALWAYS_SEND_V2_LEAVE_REQUEST 0x80
set L3_WRITE_DATA_CHECK [expr ($POS_CARD_BASE+0x0002)]
set L3_READ_DATA_CHECK [expr ($POS_CARD_BASE+0x0003)]
set IP_INC_SEQ_NUM 0x10
set IP_INC_SRC_IP 0x11
set IP_INC_DST_IP 0x12
set IP_INC_SRC_MAC 0x13
set IP_INC_DST_MAC 0x14
set IP_DEC_SRC_IP 0x15
set IP_DEC_DST_IP 0x16
set IP_INC_DST_IP_AND_DST_MAC 0x17
set IP_INC_SRC_IP_AND_SRC_MAC 0x18
set IP_DEC_DST_IP_AND_DST_MAC 0x19
set IP_DEC_SRC_IP_AND_SRC_MAC 0x1A
set IP_INC_SRC_IP_AND_DST_MAC 0x1B
set IP_INC_DST_IP_AND_SRC_MAC 0x1C
set IP_DEC_SRC_IP_AND_DST_MAC 0x1D
set IP_DEC_DST_IP_AND_SRC_MAC 0x1E
set L3_CONTINUOUS_MODE 0
set L3_SINGLE_BURST_MODE 1
set L3_MULTIBURST_MODE 3
set L3_CONTINUOUS_MULTIBURST_MODE 2
set L3_READ_STREAM_EXTENSION $NS_STREAM_EXTENSION_INFO
set L3_WRITE_STREAM_BG 0x0754
set L3_READ_STREAM_BG 0x0755
set L3_VFD1 1
set L3_VFD2 2
set L3_VFD3 3
set L3_VFD4 4
set L3_VFD5 5
set L3_VFD_STATIC 0x00
set L3_VFD_INCR 0x01
set L3_VFD_DECR 0x02
set L3_VFD_RANDOM 0x03
set L3_VFD_OFF 0x04
set L3_ENGINE_TRANSMIT 0x0
set L3_ENGINE_RECEIVE 0x1
set L3_HIST_LATENCY_PER_STREAM_INFO_32 $NS_HIST_LATENCY_PER_STREAM_INFO_32
set L3_HIST_LATENCY_PER_STREAM_32 $NS_HIST_LATENCY_PER_STREAM_32
set L3_SET_DEFINESTREAMS 0x10
set L3_SET_MULTIDEFINESTREAMS 0x12
set L3_SET_MODIFYSTREAM 0x11
set L3_SET_MODIFYSTREAMS 0x13
set L3_MODIFY_STREAMS 0x50
set L3_MODIFY_STREAMS_ARRAY 0x51
set L3_TRANSMIT_START_ARPS 9
set L3_TRANSMIT_GETSTREAM 10
set L3_TRANSMIT_GETSTREAMCOUNT 11
set L3_TRANSMIT_GETADDRESS 12
set L3_RECEIVE_GETCAPTUREPACKET 1
set L3_RECEIVE_SETCAPTURETYPE 2
set L3_RECEIVE_TRACKING_TYPE 3
set L3_RECEIVE_TRACKING_START 4
set L3_RECEIVE_TRACKING_REPORT 5
set L3_RECEIVE_ARPTIMES_REPORT 6
set L3_RECEIVE_GETCAPTURECOUNT 7
set L3_RECEIVE_TRACKING_ACTIVE_TEST 9
set L3_RECEIVE_TRACKING_SUMMARY 12
set L3_RECEIVE_TRACKING_LATENCY_PRECISION 14
set L3_RECEIVE_GETCAPTUREPACKETS 18
set L3_RECEIVE_TRACKING_SEQUENCE 1
set L3_RECEIVE_TRACKING_LATENCY 2
set L3_RECEIVE_TRACKING_LATENCYPERSTREAM 3
set L3_RECEIVE_TRACKING_LATENCYDISTRIBUTION 4
set L3_RECEIVE_TRACKING_RAWTAGS 5
set L3_RECEIVE_TRACKING_V2_LATENCY 6
set L3_RECEIVE_TRACKING_V2_LATENCYPERSTREAM 7
set L3_RECEIVE_TRACKING_TCP_ISP 8
set L3_RECEIVE_TRACKING_MC_LATENCYPERSTREAM 9
set L3_RECEIVE_TRACKING_32_LATENCYPERSTREAM 10
set L3_RECEIVE_TRACKING_V2_LATENCYDISTRIBUTION 11
set L3_RECEIVE_TRACKING_JITTER_COMBO 14
set NS_RECEIVE_TRACKING_MC_LATENCYPERSTREAM 15
set L3_RECEIVE_CAPTURE_OFF 0
set L3_RECEIVE_CAPTURE_ALL 1
set L3_RECEIVE_CAPTURE_BADPACKETS 2
set L3_RECEIVE_CAPTURE_SPECIAL 3
set L3_RECEIVE_CAPTURE_TRIGGERS 4
set L3_STREAM_UDPDHCP $STREAM_PROTOCOL_UDPDHCP
set L3_DEFINE_UDPDHCP_STREAM $NS_DEFINE_UDPDHCP_STREAM
set L3_DEFINE_MULTI_UDPDHCP_STREAM $NS_DEFINE_MULTI_UDPDHCP_STREAM
set L3_MOD_UDPDHCP_STREAM $NS_MOD_UDPDHCP_STREAM
set IP_INC_IP_AND_MAC_DST 0x17
set IP_INC_IP_AND_MAC_SRC 0x18
set IP_DEC_IP_AND_MAC_DST 0x19
set IP_DEC_IP_AND_MAC_SRC 0x1A
set L3_READ_COUNTERS 0x0613
set L3_MAX_GROUPS 100
set _etTypes_h_ 1
set WIN16 1
set DLL_EXPORT 1
set TRUE 1
set FALSE 0
set NSU64IsEq 0x01
set NSU64IsNEq 0x02
set NSU64IsGT 0x03
set NSU64IsLT 0x04
set NSU64IsGE 0x05
set NSU64IsLE 0x06
set _TCPISP_H_ 1
set MAX_URL 20
set MAX_URI 20
set MAX_COOKIE 20
set MAX_URL_LEN 8
set MAX_COOKIE_LEN 128
set MAX_URI_LEN 128
set TCP_SET_ISP_CONNECTIONDATA 0x0060
set TCP_SET_ISP_CONNECTIONDATA_CURVE 0x0061
set TCP_SET_ISP_CONNECTIONDATA_ARRAY 0x0062
set TCP_URL_ADD 0x0063
set TCP_ARP_ALL 0x7012
set TCP_REARP_ALL 0x7013
set TCP_ISP_RESERVED_COMMAND 0x0079
set TCPISP_CONNECTIONDATA_TYPE_UNKNOWN 0
set TCPISP_CONNECTIONDATA_TYPE_LISTEN 1
set TCPISP_CONNECTIONDATA_TYPE_CONNECTION 2
set TCP_CONNECT 0x7001
set TCP_LISTEN_ONE 0x7002
set TCP_CLOSE_ONE 0x7003
set TCP_CLOSE_ALL 0x7004
set TCP_RESET 0x7005
set TCP_RESET_ALL 0x7006
set TCP_GET_CONNECTIONS 0x7007
set TCP_GET_CONNECTION 0x7008
set TCP_GET_TX_LOG 0x7009
set TCP_GET_RX_LOG 0x700a
set TCP_GET_RX_LOG_2 0x700b
set TCP_START_TEST 0x700c
set TCP_INIT_STACK_MODE 0x700d
set TCP_END_STACK_MODE 0x700e
set TCP_ARP_PARAMS 0x700f
set TCP_SEND_DATA 0x7010
set TCP_GET_CONNECTIONS_INFO 0x7011
set TCP_ARP_SET_ENTRY 0x7020
set TCP_ARP_GET_ENTRIES 0x7021
set TCP_GET_ALL_CONNECTIONS_STATUS 0x7029
set TCP_ICMP_PING 0x7030
set TCP_ICMP_GET_ROUTE 0x7031
set TCP_DISABLE_DATA_SEND 0x7032
set TCP_ENABLE_DATA_SEND 0x7033
set TCP_MAX_CONNECTIONS 2048
set TCP_CONN_GAP_CFG 0x7041
set TCP_CONN_EVENT_INFO 0x7042
set L3_HIST_TCP_CONNECTION_INFO 0x7043
set TCP_CONN_STATE_INFO 0x7044
set TCP_TIME_COUNT_INFO 0x7045
set TCP_TEAR_DOWN 0x7046
set TCP_TEAR_DOWN_CLEAN 0x7047
set TCP_HTTP_CONNECTION_CONFIG 0x7050
set TCP_HTTP_URI_CONFIG 0x7051
set TCP_EXTENDED_CONN_EVENT_INFO 0x7052
set TCP_HTTP_COOKIE_CONFIG 0x7053
set TCP_GET_URI_DISTRIBUTION_INFO 0x7054
set TCP_GET_TX_TIME_INFO 0x7048
set TCP_SET_TEARDOWN_TIME_MODE 0x7049
set TCP_SET_EXTENSION_MODE 0x709A
set TCP_SET_CONFIG_EXT 0x709B
set TCP_GET_URL_DISTRIBUTION_INFO 0x709C
set TCP_GET_URL_DISTRIBUTION 0x709D
set TCP_CONN_REQUEST_TRIGGER 1005
set TCP_ADD_GENERATOR_ADDR 1015
set TCP_ADD_ACCEPTOR_ADDR 1020
set TCP_CFG_CONNECT_REQUEST 1025
set IDLE 0
set LISTENACK 1
set LISTENFIN 2
set SYNACK 3
set SYNFIN 4
set SYNEND 5
set NO_CLOSE 0
set SERVER_CLOSE_RST 1
set CLIENT_CLOSE_RST 2
set SERVER_CLOSE_3WAY 3
set CLIENT_CLOSE_3WAY 4
set SERVER_CLOSE_4WAY 5
set CLIENT_CLOSE_4WAY 6
set __et1000_h 1
set PORT_A 1
set PORT_B 0
set MFPORT_A 0
set MFPORT_B 1
set LOOP_PORT_A 0
set LOOP_PORT_B 1
set CAPTURE_NONE 0X0000
set CAPTURE_ALL 0XFFFF
set CAPTURE_ERRS_RXTRIG 0XFFFF
set CAPTURE_ANY 0X0800
set CAPTURE_NOT_GOOD 0X0200
set CAPTURE_GOOD 0X0100
set CAPTURE_RXTRIG 0X0001
set CAPTURE_CRC 0X0002
set CAPTURE_ALIGN 0X0004
set CAPTURE_OVERSIZE 0X0008
set CAPTURE_UNDERSIZE 0X0010
set CAPTURE_COLLISION 0X0020
set CAPTURE_ENTIRE_PACKET 0
set CAPTURE_RANGE 1
set CAPTURE_OFF 2
set TIME_TAG_ON 1
set TIME_TAG_OFF 0
set BUFFER_CONTINUOUS 0
set BUFFER_ONESHOT 1
set COLLISION_OFF 0
set COLLISION_LONG 1
set COLLISION_ADJ 2
set CORP_A 3
set CORP_B 4
set ETCOLLISION_MAX 4
set SYMBOL_OFF 0
set SYMBOL_ON 1
set QUEUE_ENABLE 1
set QUEUE_DISABLE 0
set ETCOM1 0
set ETCOM2 1
set ETCOM3 2
set ETCOM4 3
set ETCOM5 4
set ETCOM6 5
set ETCOM7 6
set ETCOM8 7
set ETMAXCOM 512
set ET_ON 1
set ET_OFF 0
set ETBURST_ON 1
set ETBURST_OFF 0
set ETGAP_100NS 1
set ETGAP_1US 0
set ETLOOPBACK_ON 1
set ETLOOPBACK_OFF 0
set ETCRC_OFF 0
set ETCRC_ON 1
set ETCRC_NONE 2
set ETRUN_STOP 0
set ETRUN_STEP 1
set ETRUN_RUN 2
set ETVFD_ENABLE 1
set ETVFD_DISABLE 0
set ETLNM_ON 1
set ETLNM_OFF 0
set ETBAUD_2400 0
set ETBAUD_4800 1
set ETBAUD_9600 2
set ETBAUD_19200 3
set ETBAUD_38400 4
set ETLOCALMODE 0
set ETREMOTEMODE 1
set ETRUN 2
set ETSTEP 1
set ETSTOP 0
set HTRUN 2
set HTSTEP 1
set HTSTOP 0
set RUN_NON_BLOCKING_FLAG 0x0100
set RUN_NON_BLOCKING_MASK 0x00FF
set ETSELA 0
set ETSELB 1
set ETPINGPONG 2
set CONTROLLER_UNKNOWN 0
set CONTROLLER_ET1000 1
set CONTROLLER_SMB1000 2
set CONTROLLER_SMB2000 3
set CONTROLLER_SMB6000 4
set CONTROLLER_SMB200 5
set CONTROLLER_SMB600 6
set FAMILY_UNKNOWN 0
set FAMILY_ET1000 1
set FAMILY_SMB2000 2
set FAMILY_SMB6000 3
set PORT_MAPPING_COMPATIBLE 0
set PORT_MAPPING_NATIVE 1
set RESERVE_NONE 0
set RESERVE_ALL 1
set SLOT_RESERVED_BY_OTHER 0
set SLOT_RESERVED_BY_USER 1
set SLOT_AVAILABLE 2
set ETSTORESETUP 0
set ETRECALLSETUP 1
set CT_UNKNOWN -1
set CT_NOT_PRESENT 0
set CT_ACTIVE 1
set CT_PASSIVE 2
set CT_FASTX 3
set CT_TOKENRING 4
set CT_VG 5
set CT_L3 6
set CT_ATM 7
set CT_GIGABIT 8
set CT_ATM_SIGNALING 9
set CT_WAN_FRAME_RELAY 10
set CT_POS 11
set CT_FC 12
set CT_MAX_CARD_TYPE $CT_FC
set CM_UNKNOWN -1
set CM_NOT_PRESENT 0
set CM_SE_6205 1
set CM_SC_6305 2
set CM_ST_6405 3
set CM_ST_6410 4
set CM_SX_7205 5
set CM_SX_7405 6
set CM_SX_7410 7
set CM_TR_8405 8
set CM_VG_7605 9
set CM_L3_6705 10
set CM_AT_9025 11
set CM_AT_9155 12
set CM_AS_9155 13
set CM_GX_1405 14
set CM_WN_3405 15
set CM_AT_9015 16
set CM_AT_9020 17
set CM_AT_9034 18
set CM_AT_9045 19
set CM_AT_9622 20
set CM_L3_6710 21
set CM_SX_7210 22
set CM_ML_7710 23
set CM_ML_5710A 24
set CM_WN_3415 25
set CM_WN_3420 26
set CM_LAN_3200 27
set CM_LAN_3100 28
set CM_POS_3500A 30
set CM_GX_1420A 31
set CM_LAN_3201A 32
set CM_AT_9155C 33
set CM_WN_3445A 34
set CM_POS_3502A 35
set CM_POS_3500B 36
set CM_GX_1420B 37
set CM_LAN_3201B 38
set CM_AT_9045B 39
set CM_LAN_3101 40
set CM_POS_3505A 41
set CM_LAN_3301A 42
set CM_WN_3442A 43
set CM_WN_3441A 44
set CM_LAN_3150A 45
set CM_AT_9034B 46
set CM_LAN_3311A 47
set CM_POS_3504A 48
set CM_LAN_3300A 49
set CM_LAN_3310A 50
set CM_LAN_3710AS 51
set CM_LAN_3710AL 52
set CM_LAN_3710AE 53
set CM_FBC_3601A 54
set CM_FBC_3602A 55
set CM_POS_3519A 56
set CM_POS_3510A 57
set CM_POS_3511A 58
set CM_AT_3450 59
set CM_AT_3451 60
set CM_AT_3452 61
set CM_AT_3453 62
set CM_LAN_3302A 63
set CM_POS_3550A 64
set CM_POS_3518A 65
set CT_MAX_CARD_MODELS $CM_POS_3518A
set MII_REGISTER_CONTROL 0
set MII_REGISTER_STATUS 1
set MII_REGISTER_AN_ADVERTISEMENT 4
set MII_REGISTER_AN_LINK_PARTNER 5
set MII_REGISTER_AN_EXPANSION 6
set MII_REGISTER_1000_CONTROL 9
set MII_REGISTER_1000_STATUS 10
set MII_CTRL_RESET 0x8000
set MII_CTRL_LOOPBACK 0x4000
set MII_CTRL_SPEED 0x2000
set MII_CTRL_AUTONEGOTIATE 0x1000
set MII_CTRL_POWERDOWN 0x0800
set MII_CTRL_ISOLATE 0x0400
set MII_CTRL_RESTARTAUTONEGOTIATE 0x0200
set MII_CTRL_DUPLEXMODE 0x0100
set MII_CTRL_COLLISIONTEST 0x0080
set MII_CTRL_SPEED_MSB 0x0040
set MII_CTRL_SPEED_LSB $MII_CTRL_SPEED
set MII_STATUS_EXT_CAP 0x0001
set MII_STATUS_JABBER_DETECT 0x0002
set MII_STATUS_LINK 0x0004
set MII_STATUS_AN_ABILITY 0x0008
set MII_STATUS_REMOTE_FAULT 0x0010
set MII_STATUS_AN_COMPLETE 0x0020
set MII_STATUS_MF_PREAMBLE_SUP 0x0040
set MII_STATUS_EXT_STATUS 0x0100
set MII_STATUS_100BASE_T2_HALF 0x0200
set MII_STATUS_100BASE_T2_FULL 0x0400
set MII_STATUS_10_HALF 0x0800
set MII_STATUS_10_FULL 0x1000
set MII_STATUS_100BASE_X_HALF 0x2000
set MII_STATUS_100BASE_X_FULL 0x4000
set MII_STATUS_100BASE_T4 0x8000
set MII_AN_10BASE_T 0x0020
set MII_AN_10BASE_T_FULL 0x0040
set MII_AN_100BASE_TX 0x0080
set MII_AN_100BASE_TX_FULL 0x0100
set MII_AN_100BASE_T4 0x0200
set MII_AN_FLOW_CONTROL 0x0400
set MII_AN_REMOTE_FAULT 0x2000
set MII_AN_ACKNOWLEDGE 0x4000
set MII_AN_NEXT_PAGE 0x8000
set MII_AN_LINK_PARTNER 0x0001
set MII_CONTROL9_1000BASE 0x0080
set MII_CONTROL9_1000BASE_FULL 0x0100
set MII_STATUS10_1000BASE 0x0080
set MII_STATUS10_1000BASE_FULL 0x0100
set UNSPECIFIED_ERROR -1
set PORT_NOT_LINKED -2
set UNLINK_FAILED -3
set INCORRECT_MODE -4
set PARAMETER_RANGE -5
set PACKET_NOT_AVAILABLE -6
set SERIAL_PORT_DATA -7
set ET1000_OUT_OF_SYNC -8
set PACKET_NOT_FOUND -9
set FUNCTION_ABORT -10
set ACTIVE_HUB_NOT_INITIALIZED -11
set ACTIVE_HUB_NOT_PRESENT -12
set WRONG_HUB_CARD_TYPE -13
set MEMORY_ALLOCATION_ERROR -14
set UNSUPPORTED_INTERLEAVE -15
set PORT_ALREADY_LINKED -16
set HUB_SLOT_PORT_UNAVAILABLE -17
set GROUP_HUB_SLOT_PORT_ERROR -18
set REENTRANT_ERROR -19
set DEVICE_NOT_FOUND_ERROR -20
set PORT_RELINK_REQUIRED -21
set DEVICE_NOT_READY -22
set GROUP_NOT_HOMOGENEOUS -23
set INVALID_GROUP_COMMAND -24
set ERROR_SMARTCARD_INIT_FAILED -25
set SOCKET_FAILED -26
set SOCKET_TIMEOUT -27
set COMMAND_RESPONSE_ERROR -28
set CRC_ERROR -29
set INVALID_LINK_PORT_TYPE -30
set INVALID_SYNC_CONFIGURATION -31
set HIGH_DENSITY_CONTROLLER_ERROR -32
set HIGH_DENSITY_CARD_ERROR -33
set DATA_NOT_AVAILABLE -34
set UNSUPPORTED_PLATFORM -35
set FILE_IO_ERROR -36
set MULTI_USER_CONFLICT -37
set INVALID_STRUCT_SIZE -38
set FLUSH_ERROR -39
set BANDWIDTH_EXCEEDED_ERROR -40
set SERIAL_PORT_TIMEOUT -98
set NSTCL_PARAMETER_TYPE -501
set NSTCL_INVALID_MSG_FUNC -502
set NSTCL_PARAMETER_RANGE -503
set NSTCL_STRUCT_NOT_DEFINED -504
set NSTCL_INVALID_STRUCT_COUNT -505
set NSTCL_INVALID_STRUCT_SIZE -506
set UNSUPPORTED_COMMAND -1001
set UPDATED_FIRMWARE_NEEDED -1002
set AN_LINK_NOT_NEGOTIATED -1100
set AN_NO_EXTENDED_CAPABILITY -1101
set AN_LINK_PARTNER_INCAPABLE -1102
set AN_INVALID_MII_ADDRESS -1103
set AN_SETTINGS_NOT_VERIFIED -1104
set EXPRESS_UNLINK 1
set NORMAL_UNLINK 0
set SMARTCARD_STATUS_OK 0
set ETBNC_1 1
set ETBNC_2 2
set ETBNC_3 3
set ETBNC_INPUT 0
set ETBNC_RXEA 1
set ETBNC_RXEB 2
set ETBNC_RCKA 3
set ETBNC_RCKB 4
set ETBNC_RDATA 5
set ETBNC_RDATB 6
set ETBNC_TXEA 7
set ETBNC_TXEB 8
set ETBNC_TDAT 9
set ETBNC_COLLISIONA 10
set ETBNC_COLLISIONB 11
set ETBNC_CRCA 12
set ETBNC_CRCB 13
set ETBNC_UNDRA 14
set ETBNC_UNDRB 15
set ETBNC_OVRA 16
set ETBNC_OVRB 17
set ETBNC_ALA 18
set ETBNC_ALB 19
set ETBNC_TXTRIG 20
set ETBNC_RXTRIG 21
set ETBNC_10MHZ 22
set ETBNC_10MHZINV 23
set ETBNC_20MHZ 24
set ETBNC_20MHZINV 25
set ETBNC_EXTCLK 26
set ETBNC_EXTCLKINV 27
set ETBNC_MAX 27
set ETBNC_JET210 99
set ETDP_ALLZERO 0
set ETDP_ALLONE 1
set ETDP_RANDOM 2
set ETDP_AAAA 3
set ETDP_5555 4
set ETDP_F0F0 5
set ETDP_0F0F 6
set ETDP_00FF 7
set ETDP_FF00 8
set ETDP_0000FFFF 9
set ETDP_FFFF0000 10
set ETDP_00000000FFFFFFFF 11
set ETDP_FFFFFFFF00000000 12
set ETDP_INCR8 13
set ETDP_INCR16 14
set ETDP_DECR8 15
set ETDP_DECR16 16
set ETDP_FULLCUSTOM 17
set MAX_DATA_PATTERN $ETDP_FULLCUSTOM
set RXLED_ANY 0
set RXLED_ERRORA 1
set RXLED_ERRORB 2
set RXLED_ERRORAB 3
set RXLED_UNDERSIZEA 4
set RXLED_UNDERSIZEB 5
set RXLED_UNDERSIZEAB 6
set RXLED_OVERSIZEA 7
set RXLED_OVERSIZEB 8
set RXLED_OVERSIZEAB 9
set RXLED_ALIGNA 0x0a
set RXLED_ALIGNB 0x0b
set RXLED_ALIGNAB 0x0c
set RXLED_NONE 0
set TRIGLED_MISSING 0
set TRIGLED_TXRX 1
set TRIGLED_RX 2
set TRIGLED_TX 3
set ETPREAMBLE_MAX 128
set ETPREAMBLE_MIN 10
set ETMF_PACKET_LENGTH 0
set ETMF_RXTRIG_COUNT 1
set ETMF_TXTRIG_COUNT 2
set ETMF_TIME_ROUNDTRIP 3
set ETMF_TIME_PORT2PORT 4
set ETMF_RXTRIG_RATE 5
set ETMF_TXTRIG_RATE 6
set ETMF_PREAMBLE_COUNT 7
set ETMF_GAP_TIME 8
set ETMF_SQE_COUNT 9
set ETMF_TOTAL_LENGTH 10
set ETMF_MAX $ETMF_TOTAL_LENGTH
set MAX_HUBS 4
set MAX_SLOTS 20
set MAX_PORTS 4
set MAX_HUBS_HD 4
set MAX_SLOTS_HD 32
set MAX_PORTS_HD 16
set MAX_HUBS_SMB200 1
set MAX_SLOTS_SMB200 4
set MAX_MAX_HUBS $MAX_HUBS_HD
set MAX_MAX_SLOTS $MAX_SLOTS_HD
set MAX_MAX_PORTS $MAX_PORTS_HD
set MAX_SUBSYSTEMS 2
set PORTS_PER_ACTIVE_CARD 1
set PORTS_PER_PASSIVE_CARD 2
set MAX_PORT_IDS [expr ($MAX_MAX_HUBS*$MAX_MAX_SLOTS*$MAX_MAX_PORTS)]
set MAX_ACTIVE_SLOTS [expr ($MAX_MAX_HUBS*$MAX_MAX_SLOTS*$PORTS_PER_ACTIVE_CARD)]
set MAX_PASSIVE_SLOTS [expr ($MAX_MAX_HUBS*$MAX_MAX_SLOTS*$PORTS_PER_PASSIVE_CARD)]
set MAX_TOTAL_PORTS [expr ($MAX_MAX_HUBS*$MAX_MAX_SLOTS*$MAX_MAX_PORTS)]
set MAX_SLOTLIST_SIZE 255
set MAX_GROUP_SIZE 450
set MAX_VFD_SIZE 2048
set MAX_FILL_PATTERN_SIZE 2044
set RESET_FULL 1
set RESET_PARTIAL 2
set HTLED_OFF 0
set HTLED_RED 1
set HTLED_GREEN 2
set HTLED_ORANGE 3
set HTLED_TXRED 0x0001
set HTLED_TXGREEN 0x0002
set HTLED_COLLRED 0x0004
set HTLED_COLLGREEN 0x0008
set HTLED_RXRED 0x0010
set HTLED_RXGREEN 0x0020
set HTLED_100MB 0x0040
set HTLED_FULL_DUPLEX 0x0100
set HTLED_LINKED 0x0200
set CA_SIGNALRATE_10MB 0x00000001
set CA_SIGNALRATE_100MB 0x00000002
set CA_DUPLEX_FULL 0x00000004
set CA_DUPLEX_HALF 0x00000008
set CA_CONNECT_MII 0x00000010
set CA_CONNECT_TP 0x00000020
set CA_CONNECT_BNC 0x00000040
set CA_CONNECT_AUI 0x00000080
set CA_CAN_ROUTE 0x00000100
set CA_VFDRESETCOUNT 0x00000200
set CA_SIGNALRATE_4MB 0x00000400
set CA_SIGNALRATE_16MB 0x00000800
set CA_CAN_COLLIDE 0x00001000
set CA_SIGNALRATE_25MB 0x00002000
set CA_SIGNALRATE_155MB 0x00004000
set CA_BUILT_IN_ADDRESS 0x00008000
set CA_HAS_DEBUG_MONITOR 0x00010000
set CA_SIGNALRATE_1000MB 0x00020000
set CA_CONNECT_FIBER 0x00040000
set CA_CAN_CAPTURE 0x00080000
set CA_ATM_SIGNALING 0x00100000
set CA_CONNECT_V35 0x00200000
set CA_SIGNALRATE_8MB 0x00400000
set CA_SIGNALRATE_622MB 0x00800000
set CA_SIGNALRATE_45MB 0x01000000
set CA_SIGNALRATE_34MB 0x02000000
set CA_SIGNALRATE_1_544MB 0x04000000
set CA_SIGNALRATE_2_048MB 0x08000000
set CA_HASVFDREPEATCOUNT 0x10000000
set CA_CONNECT_USB 0x20000000
set CA_TRANSCEIVER_MULTIMODE 0x40000000
set CA_GBIC 0x80000000
set ATTRIB_SPEED_10MB 1
set ATTRIB_SPEED_100MB 2
set ATTRIB_DUPLEX_FULL 3
set ATTRIB_DUPLEX_HALF 4
set ATTRIB_CONNECT_MII 5
set ATTRIB_CONNECT_TP 6
set ATTRIB_CONNECT_BNC 7
set ATTRIB_CONNECT_AUI 8
set ATTRIB_CAN_ROUTE 9
set ATTRIB_VFDRESETCOUNT 10
set ATTRIB_SPEED_4MB 11
set ATTRIB_SPEED_16MB 12
set ATTRIB_CAN_COLLIDE 13
set ATTRIB_SPEED_25MB 14
set ATTRIB_SPEED_155MB 15
set ATTRIB_BUILT_IN_ADDRESS 16
set ATTRIB_HAS_DEBUG_MONITOR 17
set ATTRIB_SPEED_1000MB 18
set ATTRIB_CONNECT_FIBER 19
set ATTRIB_CAN_CAPTURE 20
set ATTRIB_ATM_SIGNALING 21
set ATTRIB_CONNECT_V35 22
set ATTRIB_SPEED_8MB 23
set ATTRIB_SPEED_622MB 24
set ATTRIB_SPEED_45MB 25
set ATTRIB_SPEED_34MB 26
set ATTRIB_SPEED_1_544MB 27
set ATTRIB_SPEED_2_048MB 28
set ATTRIB_HASVFDREPEATCOUNT 29
set ATTRIB_CONNECT_USB 30
set ATTRIB_TRANSCEIVER_MULTIMODE 31
set ATTRIB_GBIC 32
set ATTRIB_SPEED_2488MB 33
set ATTRIB_TERAMETRICS 34
set ATTRIB_SPEED_9952MB 62
set ATTRIB_SPEED_10GB 36
set SMB_STD_MASK 0x000007FF
set SMB_STD_TXFRAMES 0x00000001
set SMB_STD_TXBYTES 0x00000002
set SMB_STD_TXTRIGGER 0x00000004
set SMB_STD_RXFRAMES 0x00000008
set SMB_STD_RXBYTES 0x00000010
set SMB_STD_RXTRIGGER 0x00000020
set SMB_STD_ERR_CRC 0x00000040
set SMB_STD_ERR_ALIGN 0x00000080
set SMB_STD_ERR_UNDERSIZE 0x00000100
set SMB_STD_ERR_OVERSIZE 0x00000200
set SMB_STD_ERR_COLLISION 0x00000400
set ISMB_STD_TXFRAMES 0
set ISMB_STD_TXBYTES 1
set ISMB_STD_TXTRIGGER 2
set ISMB_STD_RXFRAMES 3
set ISMB_STD_RXBYTES 4
set ISMB_STD_RXTRIGGER 5
set ISMB_STD_ERR_CRC 6
set ISMB_STD_ERR_ALIGN 7
set ISMB_STD_ERR_UNDERSIZE 8
set ISMB_STD_ERR_OVERSIZE 9
set ISMB_STD_ERR_COLLISION 10
set SMB_VG_INV_PKTMARK 0x00000001
set SMB_VG_ERR_PKT 0x00000002
set SMB_VG_TRANSTRAIN_PKT 0x00000004
set SMB_VG_PRIO_PROM_PKT 0x00000008
set SMB_VG_MASK 0x0000000F
set ISMB_VG_INV_PKTMARK 32
set ISMB_VG_ERR_PKT 33
set ISMB_VG_TRANSTRAIN_PKT 34
set ISMB_VG_PRIO_PROM_PKT 35
set L3_MASK 0x00004FFF
set L3_FRAMEERROR 0x00000001
set L3_TX_RETRIES 0x00000002
set L3_TX_EXCESSIVE 0x00000004
set L3_TX_LATE 0x00000008
set L3_RX_TAGS 0x00000010
set L3_TX_STACK 0x00000020
set L3_RX_STACK 0x00000040
set L3_ARP_REQ 0x00000080
set L3_ARP_SEND 0x00000100
set L3_ARP_REPLIES 0x00000200
set L3_PINGREP_SENT 0x00000400
set L3_PINGREQ_SENT 0x00000800
set L3_PINGREQ_RECV 0x00001000
set L3_DATA_INTEGRITY_ERRORS 0x00002000
set L3_IP_CHECKSUM_ERRORS 0x00004000
set IL3_FRAMEERROR 32
set IL3_TX_RETRIES 33
set IL3_TX_EXCESSIVE 34
set IL3_TX_LATE 35
set IL3_RX_TAGS 36
set IL3_TX_STACK 37
set IL3_RX_STACK 38
set IL3_ARP_REQ 39
set IL3_ARP_SEND 40
set IL3_ARP_REPLIES 41
set IL3_PINGREP_SENT 42
set IL3_PINGREQ_SENT 43
set IL3_PINGREQ_RECV 44
set IL3_DATA_INTEGRITY_ERRORS 45
set IL3_IP_CHECKSUM_ERRORS 46
set ATM_MASK 0x0007FFFF
set ATM_CELLS 0x00000001
set ATM_CORRECTEDHEADERS 0x00000002
set ATM_UNCORRECTABLEHEADERS 0x00000004
set ATM_CELLSLOST 0x00000008
set ATM_OUT_OF_SEQUENCE 0x00000010
set ATM_MISDELIVERED 0x00000020
set ATM_OAM_F4 0x00000040
set ATM_OAM_F5 0x00000080
set ATM_SIGNALING 0x00000100
set ATM_CELL_ERROR_RATIO 0x00000200
set ATM_SEVERE_ERROR_CB_RATIO 0x00000400
set ATM_CELL_LOSS_RATIO 0x00000800
set ATM_MISINSERTION 0x00001000
set ATM_CELL_TRANSFER_DELAY 0x00002000
set ATM_MEAN_CELL_TRANSFER_DELAY 0x00004000
set ATM_CELL_DELAY_VARIATION 0x00008000
set ATM_TX_CELLS 0x00010000
set ATM_TX_AAL_PDU 0x00020000
set ATM_TIMEOUT 0x00040000
set IATM_CELLS 32
set IATM_CORRECTEDHEADERS 33
set IATM_UNCORRECTABLEHEADERS 34
set IATM_CELLSLOST 35
set IATM_OUT_OF_SEQUENCE 36
set IATM_MISDELIVERED 37
set IATM_OAM_F4 38
set IATM_OAM_F5 39
set IATM_SIGNALING 40
set IATM_CELL_ERROR_RATIO 41
set IATM_SEVERE_ERROR_CB_RATIO 42
set IATM_CELL_LOSS_RATIO 43
set IATM_MISINSERTION 44
set IATM_CELL_TRANSFER_DELAY 45
set IATM_MEAN_CELL_TRANSFER_DELAY 46
set IATM_CELL_DELAY_VARIATION 47
set IATM_TX_CELLS 48
set IATM_TX_AAL_PDU 49
set IATM_TIMEOUT 50
set TR_MASK 0x001FFFFF
set TR_RXMAC 0x00000001
set TR_RXABORTFRAMES 0x00000002
set TR_LINEERRORS 0x00000004
set TR_BURSTERRORS 0x00000008
set TR_BADTOKEN 0x00000010
set TR_PURGEEVENTS 0x00000020
set TR_BEACONEVENTS 0x00000040
set TR_CLAIMEVENTS 0x00000080
set TR_INSERTIONS 0x00000100
set TR_MAC_LINEERRORS 0x00000200
set TR_MAC_INTERNALERRORS 0x00000400
set TR_MAC_BURSTERRORS 0x00000800
set TR_MAC_ACERRORS 0x00001000
set TR_MAC_ABORTTX 0x00002000
set TR_MAC_LOSTFRAME 0x00004000
set TR_MAC_RXCONGESTED 0x00008000
set TR_MAC_FRAMECOPIED 0x00010000
set TR_MAC_FREQUENCYERROR 0x00020000
set TR_MAC_TOKENERROR 0x00040000
set TR_LATENCY 0x00080000
set TR_TOKEN_RT 0x00100000
set ITR_RXMAC 32
set ITR_RXABORTFRAMES 33
set ITR_LINEERRORS 34
set ITR_BURSTERRORS 35
set ITR_BADTOKEN 36
set ITR_PURGEEVENTS 37
set ITR_BEACONEVENTS 38
set ITR_CLAIMEVENTS 39
set ITR_INSERTIONS 40
set ITR_MAC_LINEERRORS 41
set ITR_MAC_INTERNALERRORS 42
set ITR_MAC_BURSTERRORS 43
set ITR_MAC_ACERRORS 44
set ITR_MAC_ABORTTX 45
set ITR_MAC_LOSTFRAME 46
set ITR_MAC_RXCONGESTED 47
set ITR_MAC_FRAMECOPIED 48
set ITR_MAC_FREQUENCYERROR 49
set ITR_MAC_TOKENERROR 50
set ITR_LATENCY 51
set ITR_TOKEN_RT 52
set TR_SPEED_4MBITS 0
set TR_SPEED_16MBITS 1
set TR_TOKEN_EARLY_RELEASE 1
set TR_TOKEN_DEFAULT 0
set TR_DUPLEX_FULL 1
set TR_DUPLEX_HALF 0
set TR_MODE_DEVICE 1
set TR_MODE_MAU 0
set TR_PROPERTY_ENTRY 4
set TR_ERR_FCS 0x0001
set TR_ERR_FRAME_COPY 0x0002
set TR_ERR_FRAME_BIT 0x0004
set TR_ERR_FRAME_FS 0x0008
set TR_ERR_ABORT_DELIMITER 0x0010
set TR_ERR_BURST 0x0020
set TRFC_DEFAULT 0x40
set TRFC_PCFON 0x01
set TRFC_PCF_BEACON 0x02
set TRFC_PCF_CLAIMTOKEN 0x03
set TRFC_PCF_RINGPURGE 0x04
set TRFC_PCF_AMP 0x05
set TRFC_PCF_SMP 0x06
set TRFC_PCF_DAT 0x01
set TRFC_PCF_RRS 0x01
set TRFC_PCF_EXPRESSBUFFER 0x01
set VG_CFG_END_NODE 0
set VG_CFG_MASTER 1
set VG_CFG_NO_PRIO_PROMO 0
set VG_CFG_PRIORITY_PROMO 1
set VG_CFG_TOKENRING 1
set VG_CFG_ETHERNET 0
set VG_PROPERTY_ENTRY 3
set TR_STATUS_ACCESSED 0x000100
set TR_STATUS_BADSTREAM 0x000200
set TR_STATUS_BURST_MODE 0x000400
set TR_STATUS_BEACONING 0x000800
set TR_STATUS_DEVICE 0x001000
set TR_STATUS_EARLY_TOKEN_RELEASE 0x002000
set TR_STATUS_FULL_DUPLEX 0x004000
set TR_STATUS_16MB 0x008000
set TR_STATUS_RING_ALIVE 0x010000
set TR_STATUS_LATENCY_STABLE 0x020000
set TR_STATUS_TRANSMITTING 0x040000
set GIG_STATUS_LINK 0x000200
set GIG_STATUS_TX_PAUSE 0x000400
set GIG_STATUS_CAPTURED_FRAMES 0x000800
set GIG_STATUS_CAPTURE_STOPPED 0x001000
set GIG_STATUS_1420 0x002000
set GIG_STATUS_1420B 0x004000
set GIG_STATUS_100MHZ 0x010000
set GIG_STATUS_10MHZ 0x020000
set FAST7410_STATUS_LINK 0x000200
set FAST7410_STATUS_TX_PAUSE 0x000400
set L3_STATUS_6710 0x080000
set L3_ARPS_NOT_RESOLVED 0x100000
set L3_ARPS_STILL_TXING 0x200000
set L3_USB_PORT_ENABLED 0x400000
set L3_USB_PORT_LINKED 0x800000
set L3_RNDIS_MODE_ENABLED 0x010000
set VG_STATUS_MODE 0x000200
set FR_STATUS_LINK_OK 0x000200
set FR_STATUS_GROUP_MEMBER 0x000400
set FR_STATUS_UNI_UP 0x008000
set FR_STATUS_EIA_DSR 0x010000
set FR_STATUS_EIA_CTS 0x020000
set FR_STATUS_EIA_DCD 0x040000
set FR_STATUS_EIA_TM 0x080000
set FR_STATUS_EIA_DTR 0x100000
set FR_STATUS_EIA_RTS 0x200000
set FR_STATUS_EIA_RDL 0x400000
set FR_STATUS_EIA_LLB 0x800000
set HTHUBID_1 1
set HTHUBID_2 2
set HTHUBID_3 3
set HTHUBID_4 4
set HTHUBID_ALL 0
set CONTINUOUS_PACKET_MODE 0
set FIRST_TRANSMIT_MODE $CONTINUOUS_PACKET_MODE
set SINGLE_BURST_MODE 1
set MULTI_BURST_MODE 2
set CONTINUOUS_BURST_MODE 3
set ECHO_MODE 4
set LAST_TRANSMIT_MODE $ECHO_MODE
set FULLDUPLEX_MODE 0
set HALFDUPLEX_MODE 1
set HTTRANSMIT_OFF 0
set HTTRANSMIT_STD 1
set HTTRANSMIT_COL 2
set HTTRIGGER_OFF 0
set HTTRIGGER_1 1
set HTTRIGGER_2 2
set HTTRIGGER_DEPENDENT 3
set HTTRIGGER_INDEPENDENT 4
set HTTRIGGER_ON 4
set HVFD_1 1
set HVFD_2 2
set HVFD_3 3
set HVFD_NONE 0
set HVFD_RANDOM 1
set HVFD_INCR 2
set HVFD_DECR 3
set HVFD_ENABLED 4
set HVFD_STATIC 5
set HTECHO_OFF 0
set HTECHO_ON 1
set HT_RUN_LATENCY 0
set HT_GET_LATENCY 1
set HT_LATENCY_OFF 0
set HT_LATENCY_RX 1
set HT_LATENCY_TX 2
set HT_LATENCY_REPORT 3
set HT_LATENCY_RXTX 4
set HT_CBA_DEFAULT 0
set HT_CBA_1 1
set HT_CBA_2 2
set HT_CBA_3 3
set HT_CBA_4 4
set HT_CBA_5 5
set HT_CBA_6 6
set HT_CBA_7 7
set HT_CBA_8 8
set HT_CBA_9 9
set HT_CBA_10 10
set ET_SECURE 1
set ET_NO_SECURE 0
set ET_CMDLOG_COMMANDS 0x0001
set ET_CMDLOG_SHOW_IOTYPE 0x0002
set ET_CMDLOG_TIMESTAMP 0x0004
set ET_CMDLOG_APPEND 0x0008
set ET_CMDLOG_NOREAD 0x0010
set ET_CMDLOG_NOWRITE 0x0020
set ET_CMDLOG_NOCOMMENT 0x0040
set ET_CMDLOG_NOVERSION 0x0080
set ET_CMDLOG_NOLINKINFO 0x0100
set ET_CMDLOG_ALWAYSLINKINFO 0x0200
set ET_CMDLOG_FIELDNAMES 0x0400
set PICO_SCALE 4
set NANO_SCALE 1
set MICRO_SCALE 2
set MILLI_SCALE 3
set SPEED_4MHZ 0x0001
set SPEED_10MHZ 0x0002
set SPEED_16MHZ 0x0004
set SPEED_100MHZ 0x0008
set SPEED_155MHZ 0x0010
set SPEED_25MHZ 0x0020
set SPEED_1GHZ 0x0040
set SPEED_2GHZ 0x0080
set SPEED_10GHZ 0x0100
set SPEED_DUPLEX_UNTOUCHED 0x00ff
set PPS_TO_GAP_BITS 0
set PERCENT_LOAD_TO_GAP_BITS 1
set MFTYPEEVENT 0
set MFTYPERATE 1
set HUB_GROUP_DEFAULT_ACTION 0
set HUB_GROUP_INDEPENDENT_ACTION 1
set HUB_GROUP_UNIT_ACTION 2
set HUB_GROUP_SYNC_ACTION 3
set PRODUCTION_RELEASE 0
set PATCH_RELEASE 1
set ENGINEERING_QA_RELEASE 2
set ENGINEERING_TEST_RELEASE 3
set MULTI_USER_INCAPABLE 0
set MULTI_USER_CAPABLE 1
set SYNC_NONE 0
set SYNC_GPS_MASTER 1
set SYNC_GPS_MASTER_AND_INOUT_SLAVE 2
set SYNC_INOUT_MASTER 3
set SYNC_INOUT_SLAVE 4
set GPS_STATUS_UNKNOWN 0
set GPS_STATUS_OK 1
set GPS_STATUS_NOT_READY 2
set GPS_STATUS_NOT_CONNECTED 3
set COMMAND_MODE_LOG_AND_SEND 0
set COMMAND_MODE_LOG_ONLY 1
set COMMAND_MODE_SEND_ONLY 2
set MAX_USER_CONNECTIONS 4
set CM_L3_7505 $CM_L3_6705
set CM_LAN_6100 $CM_LAN_3100
set CM_LAN_6101 $CM_LAN_3101
set CM_LAN_6200 $CM_LAN_3200
set CM_LAN_6201A $CM_LAN_3201A
set CM_LAN_6201B $CM_LAN_3201B
set CM_LAN_6300A $CM_LAN_3300A
set CM_LAN_6301A $CM_LAN_3301A
set CM_LAN_6302A $CM_LAN_3302A
set CM_LAN_6310A $CM_LAN_3310A
set CM_LAN_6311A $CM_LAN_3311A
set CM_POS_6500A $CM_POS_3500A
set CM_POS_6500B $CM_POS_3500B
set CM_POS_6502A $CM_POS_3502A
set CM_POS_6504A $CM_POS_3504A
set CM_POS_6505A $CM_POS_3505A
set HUB_DEFAULT_ACTION 0
set HUB_ACT_AS_LINK_UNIT 1
set HUB_ACT_INDEPENDENTLY 2
set HUB_ACT_AS_MASTER 3
set ETH_PROTOCOL_PARAMETERS $FST_PROTOCOL_PARAMETERS
set ETH_PROTOCOL_PARAMETER_INFO $FST_PROTOCOL_PARAMETER_INFO
set ETH_VLAN_PRI_LOWEST $VLAN_PRI_0
set ETH_VLAN_PRI_HIGHEST $VLAN_PRI_7
set FR_MAX_IPSUBNET_ID [expr ($FR_NUM_PVCS-1)]
set WN_CAPTURE_CFG $L3_CAPTURE_SETUP
set WN_STREAM_CFG_INFO $L3_STREAM_INFO
set WN_CAPTURE_COUNT_INFO $L3_CAPTURE_COUNT_INFO
set WN_CAPTURE_DATA_INFO $L3_CAPTURE_PACKET_DATA_INFO
set WN_CAPTURE_DETAIL_INFO $L3_CAPTURE_DETAIL_INFO
set WN_CAPTURE_START $L3_CAPTURE_START
set WN_CAPTURE_STOP $L3_CAPTURE_STOP
set TCP_GET_URI_DISTRIBUTION $TCP_GET_URL_DISTRIBUTION
set _MAX_PATH 260

if {[info exists ettypes_structs] == 0} then {
set ettypes_structs 1

struct_typedef _HubSlotPort {struct
   {int iHub}
   {int iSlot}
   {int iPort}
}

struct_typedef U64 {struct
   {ulong high}
   {ulong low}
}

struct_typedef U8 {struct
   {ubyte uc}
}

struct_typedef U16 {struct
   {ushort ui}
}

struct_typedef U32 {struct
   {ulong ul}
}

struct_typedef S8 {struct
   {byte c}
}

struct_typedef S16 {struct
   {short i}
}

struct_typedef S32 {struct
   {long l}
}

struct_typedef F32 {struct
   {float f}
}

struct_typedef F64 {struct
   {double d}
}

struct_typedef UChar {struct
   {ubyte uc}
}

struct_typedef UShort {struct
   {ushort ui}
}

struct_typedef UInt {struct
   {ushort ui}
}

struct_typedef ULong {struct
   {ulong ul}
}

struct_typedef Char {struct
   {byte c}
}

struct_typedef Short {struct
   {short i}
}

struct_typedef Int {struct
   {short i}
}

struct_typedef Long {struct
   {long l}
}

struct_typedef Float {struct
   {float f}
}

struct_typedef Double {struct
   {double d}
}


}

if {[info exists tcpisp_structs] == 0} then {
set tcpisp_structs 1

struct_typedef TCPTimeInfoCount {struct
   {ulong ulTest}
   {ulong ulRecords}
}

struct_typedef TCPGaps {struct
   {ulong ulSYNGap}
   {ulong ulFINGap}
   {ulong ulInterframeGap}
   {ulong ulTimeInterval}
}

struct_typedef TCPConnectionStatusOnly {struct
   {ushort uiConnId}
   {ubyte ucConnected}
}

struct_typedef TCPConnEventInfo {struct
   {ulong InitiatedConnections}
   {ulong ConnectionReqRecv}
   {ulong UnexpectedConnReq}
   {ulong SYNACKSent}
   {ulong ExpectedSYNACKRecv}
   {ulong UnexpectedSYNACKRecv}
   {ulong DuplicatedSYNACKRecv}
   {ulong CloseFINACKSent}
   {ulong AckFINACKSent}
   {ulong ExpectedFINACK}
   {ulong ExpectedFinalFINACK}
   {ulong UnexpectedFINACK}
   {ulong UnexpectedFINACKWaitingForAck}
   {ulong UnexpectedFINACKAfterRecvFin}
   {ulong ACKSent}
   {ulong FinalFIN_ACKSent}
   {ulong SYNACK_ACKRecv}
   {ulong FINACK_ACKRecv}
   {ulong NoConnectUnexpectedACKRecv}
   {ulong RSTRecv}
   {ulong RSTRecvForConnection}
   {ulong CurrentConnections}
   {ulong AbandonedConnections}
   {ulong NoDPResources}
   {ulong NoMoreConnectionEntries}
   {ulong NoTxResources}
   {ulong NumberOfHTTPGetRx}
   {ulong NumberOfHTTPReplyRx}
}

struct_typedef TCPConnTimeInfo {struct
   {ulong notUsed}
   {ulong NumbConnStarted}
   {ulong NumbConnCompleted}
   {ulong NumbConnCycleCompleted}
}

struct_typedef TCPTransRateInfo {struct
   {ushort Version}
   {ushort Records}
   {ulong IpAddress}
   {ulong FirstTimeStamp}
   {ulong LastTimeStamp}
   {ulong NumberOfPackets}
   {ulong BitMask}
}

struct_typedef TCPConnRequestTrigger {struct
   {ubyte ucEnable}
   {ubyte ucDirection}
   {ubyte ucCompCombo}
   {ubyte ucReserved1}
   {ushort uiTrig1Offset}
   {ushort uiTrig1Range}
   {ubyte*6 ucTrig1Pattern}
   {ubyte*6 ucTrig1Mask}
   {ushort uiTrig2Offset}
   {ushort uiTrig2Range}
   {ubyte*6 ucTrig2Pattern}
   {ubyte*6 ucTrig2Mask}
   {ubyte*20 ucReserved}
}

struct_typedef TCPConnectRequest {struct
   {ulong ulTCPConnectRequestRate}
   {ulong ulBurstCnt}
   {ubyte ucBurstMode}
   {int bTearDownTCPConnection}
}

struct_typedef TCPDataLogEventTx {struct
   {ushort uiConnId}
   {ushort uiDataLen}
   {ushort uiWindowSize}
   {ulong ulSeq}
   {ulong ulAck}
   {ushort uiIpSequence}
   {ubyte ucTcpFlag}
   {ubyte ucRetryCount}
}

struct_typedef TCPDataLogEventRx {struct
   {ulong ulSrcIpAddress}
   {ushort uiSrcPort}
   {ushort uiDestPort}
   {ulong ulDestIpAddress}
   {ulong ulTxTimeStamp}
   {ulong ulRxTimeStamp}
   {ushort uiDataLen}
   {ushort uiWindowSize}
   {ulong ulSeq}
   {ulong ulAck}
   {ushort uiIpSequence}
   {ubyte ucTtl}
   {ubyte ucTcpFlag}
   {ubyte ucFlagMask}
}

struct_typedef TCPDataLogEventRx2 {struct
   {ushort uiDestPort}
   {ulong ulRxTimeStamp}
   {ulong ulTxTimeStamp}
   {ulong ulSeq}
   {ushort uiIpSequence}
}

struct_typedef TCPConnectionStatus {struct
   {ushort uiConnId}
   {ulong ulSrcIpAddress}
   {ushort uiSrcPort}
   {ulong ulDestIpAddress}
   {ushort uiDestPort}
   {ulong ulBeginSequence}
   {ulong ulLastSequence}
   {ulong ulDataStartTime}
   {ulong ulDataStopTime}
   {ulong ulMinLatency}
   {ulong ulMaxLatency}
   {ulong ulTotalLatency}
   {ulong ulPacketsTx}
   {ulong ulPacketsRx}
   {ulong ulTotalTimeouts}
   {ulong ulTotalDataRetransmits}
   {ulong ulStartTimeMS}
   {ulong ulStartTimeNS}
   {ulong ulStopTimeMS}
   {ulong ulStopTimeNS}
   {ulong ulConnectionSynNS}
   {ulong ulConnectionFinNS}
   {ulong ulNumberFragments}
   {ulong ulTtlChanges}
   {ulong ulDataOutOfOrder}
   {ushort uiAverageTxWindowSize}
   {ubyte ucConnStatusMask}
}

struct_typedef TCPConnectionsInfo {struct
   {ushort uiConnId}
   {ulong ulSrcIpAddress}
   {ushort uiSrcPort}
   {ulong ulDestIpAddress}
   {ushort uiDestPort}
   {ulong ulBeginSequence}
   {ulong ulLastSequence}
   {ulong ulDataStartTime}
   {ulong ulDataStopTime}
   {ulong ulMinLatency}
   {ulong ulMaxLatency}
   {ulong ulTotalLatency}
   {ulong ulPacketsTx}
   {ulong ulPacketsRx}
   {ulong ulTotalTimeouts}
   {ulong ulTotalDataRetransmits}
   {ulong ulStartTimeMS}
   {ulong ulStartTimeNS}
   {ulong ulStopTimeMS}
   {ulong ulStopTimeNS}
   {ulong ulConnectionSynNS}
   {ulong ulConnectionFinNS}
   {ulong ulNumberFragments}
   {ulong ulTtlChanges}
   {ulong ulDataOutOfOrder}
   {ushort uiAverageTxWindowSize}
   {ubyte ucConnStatusMask}
   {ulong ulIndex}
   {ubyte*64 ucRerserved}
}

struct_typedef TCPExtendedConnEventInfo {struct
   {ulong ulNoCompletedHTTPSessions}
   {ulong ulNoUnexpectedPacketsRx}
   {ULong*128 ulReserved}
}

struct_typedef ARPEntry {struct
   {ulong ulIpAddress}
   {ubyte*6 ucMacAddress}
   {ubyte ucType}
}

struct_typedef TCPSetup {struct
   {ulong ulMeAddress}
   {ushort uiMePort}
   {ulong ulHisAddress}
   {ushort uiHisPort}
   {ulong ulRouterAddress}
   {ushort uiRetransmitTimeout}
   {ushort uiSendTimeout}
   {ushort uiMss}
   {ubyte ucTtl}
   {ubyte ucTos}
   {ushort uiWindowSize}
   {ulong ulDataToSend}
   {ubyte ucRetry}
   {ulong ulFrameGap}
   {ulong ulOption1}
   {ulong ulOption2}
   {ulong ulOption3}
   {ulong ulOption4}
}

struct_typedef TCPISPConnectionData {struct
   {ulong ulType}
   {ulong ulUserId}
   {ulong ulSourceAddress}
   {ulong ulVIPAddress}
   {ulong ulSourceTCPPort}
   {ulong ulDestinationAddress}
   {ulong ulDestinationPort}
   {ulong ulRouterAddress}
   {ulong ulIfg}
   {ulong ulTos}
   {ulong ulTtl}
   {ulong ulSendDataTimeout}
   {ulong ulKeepAliveTimer}
   {ulong ulWindowSize}
   {ulong ulMss}
   {ulong ulDataToSend}
   {ulong ulAckRatio}
   {ulong ulCcOptions}
   {ulong ulCcValue1}
   {ulong ulCcValue2}
   {ulong ulRetryCount}
   {ulong ulRttOptions}
   {ulong ulRttTimeout}
   {ulong ulRttAlpha}
   {ulong ulRttBeta}
   {ulong ulRttDelta}
   {ulong ulRttRho}
   {ulong ulRttEta}
   {ulong ulOptionBits1}
   {ulong ulOptionBits2}
   {ulong ulOptionBits3}
   {ulong ulOptionBits4}
   {ulong ulKeepAliveTime}
   {ulong ulDataExpected}
   {ubyte*20 ucURL}
   {ubyte*128 ucReserved}
}

struct_typedef TCPConnectionHTTPConfig {struct
   {ulong ulTCPConnectionClient}
   {ushort uiHTTPMode}
   {ushort uiNoOfHTTPTransactions}
   {ushort uiHTTPUseURI}
   {ushort uiTCPCloseOptions}
   {ubyte ucPersistentMode}
   {ubyte*127 ucReserved}
}

struct_typedef TCPCurveTimeData {struct
   {ulong ulTime}
   {ulong ulDataSize}
}

struct_typedef TCPCurveRecord {struct
   {ulong ulConnId}
   {ulong ulDataPoints}
   {TCPCurveTimeData*64 CurveTimeData}
}

struct_typedef TCPISPConnectionDataCurve {struct
   {ulong ulRecords}
   {TCPCurveRecord*64 CurveRecords}
}

struct_typedef TCPISPConnectionDataArray {struct
   {ubyte*1024 ucData}
}

struct_typedef TCPISPReservedStructure {struct
   {ulong ulOption1}
   {ulong ulOption2}
   {ulong ulOption3}
   {ulong ulOption4}
   {ulong ulOption5}
   {ulong ulOption6}
   {ulong ulOption7}
   {ulong ulOption8}
   {ulong ulOption9}
   {ulong ulOption10}
   {ulong ulOption11}
   {ulong ulOption12}
   {ulong ulOption13}
   {ulong ulOption14}
   {ulong ulOption15}
   {ulong ulOption16}
   {ulong ulOption17}
   {ulong ulOption18}
}

struct_typedef TCPArpParams {struct
   {ulong ulClearEntries}
   {ulong ulAgingTime}
   {ulong ulGetRetries}
   {ulong ulGetDelay}
}

struct_typedef TCPArpEntry {struct
   {ulong ulIpAddress}
   {ulong ulMacAddr1_4}
   {ushort uiMacAddr56}
   {ubyte ucType}
}

struct_typedef TCPICMPPing {struct
   {ulong ulDestIP}
   {ulong ulRouterIP}
   {ulong ulSourceIP}
   {ushort uiTraceRouterNumb}
   {ulong ulTraceRouterIndex}
}

struct_typedef TCPInitStackMode {struct
   {ulong ulRateThrottle}
}

struct_typedef TCPConfigExt {struct
   {ulong ulVIP}
   {ubyte ucDispatchEnable}
   {ubyte ucSMACFilterEnable}
   {ushort uiSMACFilterValue}
   {ushort uiHTTPReplyLength}
   {ubyte ucHTTPReplyCount}
   {ubyte ucReserved}
   {ulong ulReserved1}
}

struct_typedef TCPURLOne {struct
   {byte*8 szURL}
}

struct_typedef TCPURLArray {struct
   {ushort uiNumberOfURL}
   {TCPURLOne*20 URL}
}

struct_typedef TCPURIOne {struct
   {byte*128 szURI}
}

struct_typedef TCPURIArray {struct
   {ulong ulNumOfURIElements}
   {TCPURIOne*20 URI}
}

struct_typedef TCPCookieOne {struct
   {byte*128 szCookie}
}

struct_typedef TCPCookieArray {struct
   {ulong ulNumOfCookies}
   {TCPCookieOne*20 Cookie}
}

struct_typedef TCPURLDistribution {struct
   {byte*8 szURL}
   {ulong ulCount}
}

struct_typedef TCPURIDistribution {struct
   {byte*128 szURI}
   {ulong ulCount}
}


}

if {[info exists et1000_structs] == 0} then {
set et1000_structs 1

struct_typedef CaptureStructure {struct
   {uint Offset}
   {uint Range}
   {int Filter}
   {int Port}
   {int BufferMode}
   {int TimeTag}
   {int Mode}
}

struct_typedef ETCapturePacketInfo {struct
   {ulong ulPacketNumber}
   {ulong ulPacketLength}
   {uint uiCaptureFlag}
   {ubyte*16 ucReserved}
}

struct_typedef CollisionStructure {struct
   {uint Offset}
   {uint Duration}
   {uint Count}
   {int Mode}
}

struct_typedef CountStructure {struct
   {ulong ERAEvent}
   {ulong ERARate}
   {ulong ERBEvent}
   {ulong ERBRate}
   {ulong TXAEvent}
   {ulong TXARate}
   {ulong TXBEvent}
   {ulong TXBRate}
   {ulong RXAEvent}
   {ulong RXARate}
   {ulong RXBEvent}
   {ulong RXBRate}
   {ulong CXAEvent}
   {ulong CXARate}
   {ulong CXBEvent}
   {ulong CXBRate}
   {ulong ALAEvent}
   {ulong ALARate}
   {ulong ALBEvent}
   {ulong ALBRate}
   {ulong UPAEvent}
   {ulong UPARate}
   {ulong UPBEvent}
   {ulong UPBRate}
   {ulong OPAEvent}
   {ulong OPARate}
   {ulong OPBEvent}
   {ulong OPBRate}
   {ulong MFAEvent}
   {ulong MFARate}
   {ulong MFBEvent}
   {ulong MFBRate}
}

struct_typedef SwitchStructure {struct
   {ulong Gap}
   {ulong Data}
   {uint Disp}
   {uint Mode}
   {int Run}
   {int Sel}
}

struct_typedef TimeStructure {struct
   {uint days}
   {uint hours}
   {uint minutes}
   {uint seconds}
   {uint milliseconds}
   {uint microseconds}
}

struct_typedef TriggerStructure {struct
   {uint Offset}
   {int Range}
   {Int*12 Pattern}
}

struct_typedef VFDStructure {struct
   {uint Offset}
   {uint Range}
   {Int*4096 Start}
   {Int*4096 Increment}
}

struct_typedef HTVFDStructure {struct
   {int Configuration}
   {int Range}
   {int Offset}
   {char*256 Data}
   {int DataCount}
}

struct_typedef TErrorStructure {struct
   {int AlignError}
   {int AlignCount}
   {int DribbleError}
   {int DribbleCount}
   {int CRCError}
}

struct_typedef HTCountStructure {struct
   {ulong RcvPkt}
   {ulong TmtPkt}
   {ulong Collision}
   {ulong RcvTrig}
   {ulong RcvByte}
   {ulong CRC}
   {ulong Align}
   {ulong Oversize}
   {ulong Undersize}
   {ulong TmtPktRate}
   {ulong RcvPktRate}
   {ulong CRCRate}
   {ulong OversizeRate}
   {ulong UndersizeRate}
   {ulong CollisionRate}
   {ulong AlignRate}
   {ulong RcvTrigRate}
   {ulong RcvByteRate}
}

struct_typedef HTTriggerStructure {struct
   {uint Offset}
   {int Range}
   {Int*6 Pattern}
}

struct_typedef TriggerMaskStructure {struct
   {uint Bit_Offset}
   {int Bit_Range}
   {Int*6 Trig_Pattern}
   {Int*6 Bit_Mask}
}

struct_typedef HTLatencyStructure {struct
   {int Range}
   {int Offset}
   {Int*12 iData}
   {ulong ulLatency}
}

struct_typedef EnhancedCounterStructure {struct
   {int iMode}
   {int iPortType}
   {ulong ulMask1}
   {ulong ulMask2}
   {ULong*64 ulData}
}

struct_typedef FirmwareVersionStructure {struct
   {int ReleaseType}
   {int MajorNumber}
   {int MinorNumber}
   {int BuildNumber}
   {int PatchNumber}
}

struct_typedef CardFWVersionStructure {struct
   {ushort uiReleaseType}
   {ushort uiMajorNumber}
   {ushort uiMinorNumber}
   {ushort uiBuildNumber}
   {ubyte*16 ucReserved}
}

struct_typedef NSIPAddress {struct
   {ubyte*4 ucIPAddress}
}

struct_typedef HTSlotSharingStructure {struct
   {ushort uiNumUsers}
   {NSIPAddress*4 User}
}

struct_typedef NSFlashData {struct
   {ushort uiDataCRC}
   {ushort uiDataID}
   {ushort uiDataFormatVersion}
   {ubyte ucControllerProperties}
   {ubyte ucMaxUsersAllowed}
   {ushort uiControllerAttributes}
   {ubyte ucNumberOfPhysicalSlots}
   {ubyte ucNumberOfCardsPerSlot}
   {ulong ulBaseAddressOfFirstCard}
   {ulong ulBaseAddressDelta}
   {ubyte*4 ucIPAddress}
   {ubyte*6 ucMACAddress}
   {ushort uiTCPListenPortNumber}
   {ubyte ucProductFamilyID}
   {ubyte ucControllerUniqueID}
   {ulong ulProductSerialNumber}
   {byte*60 szProductDescription}
   {ulong ulIdleConnectionTimeout}
   {ubyte*8 ucReserved1}
   {ubyte*20 ucProductIDSupported}
   {ubyte*126 ucReserved2}
}

struct_typedef TokenRingMACStructure {struct
   {int UseMAC}
   {int Stations}
   {Int*6 MACSrc}
   {Int*6 MACDest}
   {int FramesPerToken}
   {int FrameControl}
}

struct_typedef TokenRingLLCStructure {struct
   {int UseLLC}
   {int DSAP}
   {int SSAP}
   {int LLCCommand}
}

struct_typedef TokenRingPropertyStructure {struct
   {int SpeedSetting}
   {int EarlyTokenRelease}
   {int DuplexMode}
   {int DeviceOrMAUMode}
}

struct_typedef TokenRingAdvancedStructure {struct
   {int UseHoldingGap}
   {int GapValue}
   {int GapScale}
   {int UseIntermediateFrameBits}
   {int UseAC}
   {int ACdata}
   {int AdvancedControl1}
   {int AdvancedControl2}
   {ulong AReserved1}
   {ulong AReserved2}
}

struct_typedef VGCardPropertyStructure {struct
   {int EndOrMasterMode}
   {int PriorityPromotion}
   {int EtherNetOrTokenRing}
}


}

if {[info exists stmitems_structs] == 0} then {
set stmitems_structs 1

struct_typedef StreamSmartBits {struct
   {ubyte ucActive}
   {ubyte ucProtocolType}
   {ubyte ucRandomLength}
   {ubyte ucRandomData}
   {ushort uiFrameLength}
   {ushort uiVFD1Offset}
   {ubyte ucVFD1Range}
   {ubyte ucVFD1Pattern}
   {ulong ulVFD1PatternCount}
   {ubyte*6 ucVFD1StartVal}
   {ushort uiVFD2Offset}
   {ubyte ucVFD2Range}
   {ubyte ucVFD2Pattern}
   {ulong ulVFD2PatternCount}
   {ubyte*6 ucVFD2StartVal}
   {ushort uiVFD3Offset}
   {ushort uiVFD3Range}
   {ubyte ucVFD3Enable}
   {ubyte ucTagField}
   {ubyte*64 ProtocolHeader}
}

struct_typedef StreamSmartBits128 {struct
   {ubyte ucActive}
   {ubyte ucProtocolType}
   {ubyte ucRandomLength}
   {ubyte ucRandomData}
   {ushort uiFrameLength}
   {ushort uiVFD1Offset}
   {ubyte ucVFD1Range}
   {ubyte ucVFD1Pattern}
   {ulong ulVFD1PatternCount}
   {ubyte*6 ucVFD1StartVal}
   {ushort uiVFD2Offset}
   {ubyte ucVFD2Range}
   {ubyte ucVFD2Pattern}
   {ulong ulVFD2PatternCount}
   {ubyte*6 ucVFD2StartVal}
   {ushort uiVFD3Offset}
   {ushort uiVFD3Range}
   {ubyte ucVFD3Enable}
   {ubyte ucTagField}
   {ubyte*128 ProtocolHeader}
}

struct_typedef Stream8023 {struct
   {ubyte ucActive}
   {ubyte ucProtocolType}
   {ubyte ucRandomLength}
   {ubyte ucRandomData}
   {ushort uiFrameLength}
   {ushort uiVFD1Offset}
   {ubyte ucVFD1Range}
   {ubyte ucVFD1Pattern}
   {ulong ulVFD1PatternCount}
   {ubyte*6 ucVFD1StartVal}
   {ushort uiVFD2Offset}
   {ubyte ucVFD2Range}
   {ubyte ucVFD2Pattern}
   {ulong ulVFD2PatternCount}
   {ubyte*6 ucVFD2StartVal}
   {ushort uiVFD3Offset}
   {ushort uiVFD3Range}
   {ubyte ucVFD3Enable}
   {ubyte ucTagField}
   {ubyte*64 ProtocolHeader}
}

struct_typedef StreamIP {struct
   {ubyte ucActive}
   {ubyte ucProtocolType}
   {ubyte ucRandomLength}
   {ubyte ucRandomData}
   {ushort uiFrameLength}
   {ushort uiVFD1Offset}
   {ubyte ucVFD1Range}
   {ubyte ucVFD1Pattern}
   {ulong ulVFD1PatternCount}
   {ubyte*6 ucVFD1StartVal}
   {ushort uiVFD2Offset}
   {ubyte ucVFD2Range}
   {ubyte ucVFD2Pattern}
   {ulong ulVFD2PatternCount}
   {ubyte*6 ucVFD2StartVal}
   {ushort uiVFD3Offset}
   {ushort uiVFD3Range}
   {ubyte ucVFD3Enable}
   {ubyte ucTagField}
   {ubyte*6 DestinationMAC}
   {ubyte*6 SourceMAC}
   {ubyte TypeOfService}
   {ubyte TimeToLive}
   {ushort InitialSequenceNumber}
   {ubyte*4 DestinationIP}
   {ubyte*4 SourceIP}
   {ubyte*4 Netmask}
   {ubyte*4 Gateway}
   {ubyte Protocol}
   {ubyte*17 extra}
   {ushort uiActualSequenceNumber}
   {ulong ulARPStart}
   {ulong ulARPEnd}
   {ulong ulARPGap}
}

struct_typedef StreamIPVLAN {struct
   {ubyte ucActive}
   {ubyte ucProtocolType}
   {ubyte ucRandomLength}
   {ubyte ucRandomData}
   {ushort uiFrameLength}
   {ushort uiVFD1Offset}
   {ubyte ucVFD1Range}
   {ubyte ucVFD1Pattern}
   {ulong ulVFD1PatternCount}
   {ubyte*6 ucVFD1StartVal}
   {ushort uiVFD2Offset}
   {ubyte ucVFD2Range}
   {ubyte ucVFD2Pattern}
   {ulong ulVFD2PatternCount}
   {ubyte*6 ucVFD2StartVal}
   {ushort uiVFD3Offset}
   {ushort uiVFD3Range}
   {ubyte ucVFD3Enable}
   {ubyte ucTagField}
   {ubyte*6 DestinationMAC}
   {ubyte*6 SourceMAC}
   {ubyte TypeOfService}
   {ubyte TimeToLive}
   {ushort InitialSequenceNumber}
   {ubyte*4 DestinationIP}
   {ubyte*4 SourceIP}
   {ubyte*4 Netmask}
   {ubyte*4 Gateway}
   {ubyte Protocol}
   {ubyte*5 reserved}
   {ushort VLAN_Pri}
   {ushort VLAN_Cfi}
   {ushort VLAN_Vid}
   {ubyte*12 extra}
   {ulong ulARPStart}
   {ulong ulARPEnd}
   {ulong ulARPGap}
}

struct_typedef StreamUDP {struct
   {ubyte ucActive}
   {ubyte ucProtocolType}
   {ubyte ucRandomLength}
   {ubyte ucRandomData}
   {ushort uiFrameLength}
   {ushort uiVFD1Offset}
   {ubyte ucVFD1Range}
   {ubyte ucVFD1Pattern}
   {ulong ulVFD1PatternCount}
   {ubyte*6 ucVFD1StartVal}
   {ushort uiVFD2Offset}
   {ubyte ucVFD2Range}
   {ubyte ucVFD2Pattern}
   {ulong ulVFD2PatternCount}
   {ubyte*6 ucVFD2StartVal}
   {ushort uiVFD3Offset}
   {ushort uiVFD3Range}
   {ubyte ucVFD3Enable}
   {ubyte ucTagField}
   {ubyte*6 DestinationMAC}
   {ubyte*6 SourceMAC}
   {ubyte TypeOfService}
   {ubyte TimeToLive}
   {ushort InitialSequenceNumber}
   {ubyte*4 DestinationIP}
   {ubyte*4 SourceIP}
   {ubyte*4 Netmask}
   {ubyte*4 Gateway}
   {ushort UDPSrc}
   {ushort UDPDest}
   {ushort UDPLen}
   {ubyte*12 extra}
   {ushort uiActualSequenceNumber}
   {ulong ulARPStart}
   {ulong ulARPEnd}
   {ulong ulARPGap}
}

struct_typedef StreamUDPVLAN {struct
   {ubyte ucActive}
   {ubyte ucProtocolType}
   {ubyte ucRandomLength}
   {ubyte ucRandomData}
   {ushort uiFrameLength}
   {ushort uiVFD1Offset}
   {ubyte ucVFD1Range}
   {ubyte ucVFD1Pattern}
   {ulong ulVFD1PatternCount}
   {ubyte*6 ucVFD1StartVal}
   {ushort uiVFD2Offset}
   {ubyte ucVFD2Range}
   {ubyte ucVFD2Pattern}
   {ulong ulVFD2PatternCount}
   {ubyte*6 ucVFD2StartVal}
   {ushort uiVFD3Offset}
   {ushort uiVFD3Range}
   {ubyte ucVFD3Enable}
   {ubyte ucTagField}
   {ubyte*6 DestinationMAC}
   {ubyte*6 SourceMAC}
   {ubyte TypeOfService}
   {ubyte TimeToLive}
   {ushort InitialSequenceNumber}
   {ubyte*4 DestinationIP}
   {ubyte*4 SourceIP}
   {ubyte*4 Netmask}
   {ubyte*4 Gateway}
   {ushort UDPSrc}
   {ushort UDPDest}
   {ushort UDPLen}
   {ushort VLAN_Pri}
   {ushort VLAN_Cfi}
   {ushort VLAN_Vid}
   {ubyte*12 extra}
   {ulong ulARPStart}
   {ulong ulARPEnd}
   {ulong ulARPGap}
}

struct_typedef StreamIPX {struct
   {ubyte ucActive}
   {ubyte ucProtocolType}
   {ubyte ucRandomLength}
   {ubyte ucRandomData}
   {ushort uiFrameLength}
   {ushort uiVFD1Offset}
   {ubyte ucVFD1Range}
   {ubyte ucVFD1Pattern}
   {ulong ulVFD1PatternCount}
   {ubyte*6 ucVFD1StartVal}
   {ushort uiVFD2Offset}
   {ubyte ucVFD2Range}
   {ubyte ucVFD2Pattern}
   {ulong ulVFD2PatternCount}
   {ubyte*6 ucVFD2StartVal}
   {ushort uiVFD3Offset}
   {ushort uiVFD3Range}
   {ubyte ucVFD3Enable}
   {ubyte ucTagField}
   {ubyte*6 DestinationMAC}
   {ubyte*6 SourceMAC}
   {ushort IPXlen}
   {ubyte IPXhop}
   {ubyte IPXtype}
   {ubyte*4 IPXdst}
   {ubyte*6 IPXdstHost}
   {ushort IPXdstSocket}
   {ubyte*4 IPXsrc}
   {ubyte*6 IPXsrcHost}
   {ushort IPXsrcSocket}
   {ubyte*24 extra}
}

struct_typedef StreamTCP {struct
   {ubyte ucActive}
   {ubyte ucProtocolType}
   {ubyte ucRandomLength}
   {ubyte ucRandomData}
   {ushort uiFrameLength}
   {ushort uiVFD1Offset}
   {ubyte ucVFD1Range}
   {ubyte ucVFD1Pattern}
   {ulong ulVFD1PatternCount}
   {ubyte*6 ucVFD1StartVal}
   {ushort uiVFD2Offset}
   {ubyte ucVFD2Range}
   {ubyte ucVFD2Pattern}
   {ulong ulVFD2PatternCount}
   {ubyte*6 ucVFD2StartVal}
   {ushort uiVFD3Offset}
   {ushort uiVFD3Range}
   {ubyte ucVFD3Enable}
   {ubyte ucTagField}
   {ubyte*6 DestinationMAC}
   {ubyte*6 SourceMAC}
   {ubyte TypeOfService}
   {ubyte TimeToLive}
   {ushort InitialSequenceNumber}
   {ubyte*4 DestinationIP}
   {ubyte*4 SourceIP}
   {ubyte*4 Netmask}
   {ubyte*4 Gateway}
   {ushort SourcePort}
   {ushort DestPort}
   {ushort Window}
   {ubyte*2 reserved}
   {ulong TCPAck}
   {ulong TCPSequence}
   {ubyte Flags}
   {ubyte*3 extra}
   {ulong ulARPOut}
   {ulong ulARPBack}
   {ulong ulARPGap}
}

struct_typedef StreamTCPVLAN {struct
   {ubyte ucActive}
   {ubyte ucProtocolType}
   {ubyte ucRandomLength}
   {ubyte ucRandomData}
   {ushort uiFrameLength}
   {ushort uiVFD1Offset}
   {ubyte ucVFD1Range}
   {ubyte ucVFD1Pattern}
   {ulong ulVFD1PatternCount}
   {ubyte*6 ucVFD1StartVal}
   {ushort uiVFD2Offset}
   {ubyte ucVFD2Range}
   {ubyte ucVFD2Pattern}
   {ulong ulVFD2PatternCount}
   {ubyte*6 ucVFD2StartVal}
   {ushort uiVFD3Offset}
   {ushort uiVFD3Range}
   {ubyte ucVFD3Enable}
   {ubyte ucTagField}
   {ubyte*6 DestinationMAC}
   {ubyte*6 SourceMAC}
   {ubyte TypeOfService}
   {ubyte TimeToLive}
   {ushort InitialSequenceNumber}
   {ubyte*4 DestinationIP}
   {ubyte*4 SourceIP}
   {ubyte*4 Netmask}
   {ubyte*4 Gateway}
   {ushort SourcePort}
   {ushort DestPort}
   {ushort Window}
   {ushort VLAN_Pri}
   {ushort VLAN_Cfi}
   {ushort VLAN_Vid}
   {ulong TCPAck}
   {ulong TCPSequence}
   {ubyte Flags}
   {ubyte*3 Spare}
   {ulong ulARPOut}
   {ulong ulARPBack}
   {ulong ulARPGap}
}

struct_typedef StreamSmartTCP {struct
   {ubyte ucActive}
   {ubyte ucProtocolType}
   {ubyte ucRandomLength}
   {ubyte ucRandomData}
   {ushort uiFrameLength}
   {ushort uiVFD1Offset}
   {ubyte ucVFD1Range}
   {ubyte ucVFD1Pattern}
   {ulong ulVFD1PatternCount}
   {ubyte*6 ucVFD1StartVal}
   {ushort uiVFD2Offset}
   {ubyte ucVFD2Range}
   {ubyte ucVFD2Pattern}
   {ulong ulVFD2PatternCount}
   {ubyte*6 ucVFD2StartVal}
   {ushort uiVFD3Offset}
   {ushort uiVFD3Range}
   {ubyte ucVFD3Enable}
   {ubyte ucTagField}
   {ubyte*6 DestinationMAC}
   {ubyte*6 SourceMAC}
   {ubyte TypeOfService}
   {ubyte TimeToLive}
   {ushort InitialSequenceNumber}
   {ubyte*4 DestinationIP}
   {ubyte*4 SourceIP}
   {ubyte*4 Netmask}
   {ubyte*4 Gateway}
   {ushort SourcePort}
   {ushort DestPort}
   {ushort TCPLength}
   {ushort Sequence_acc}
   {ulong PartialChecksum}
   {ulong TCPSequence}
   {ushort Window}
   {ubyte Flags}
   {ubyte Spare}
   {ulong ulARPOut}
   {ulong ulARPBack}
   {ulong ulARPGap}
}

struct_typedef StreamICMP {struct
   {ubyte ucActive}
   {ubyte ucProtocolType}
   {ubyte ucRandomLength}
   {ubyte ucRandomData}
   {ushort uiFrameLength}
   {ushort uiVFD1Offset}
   {ubyte ucVFD1Range}
   {ubyte ucVFD1Pattern}
   {ulong ulVFD1PatternCount}
   {ubyte*6 ucVFD1StartVal}
   {ushort uiVFD2Offset}
   {ubyte ucVFD2Range}
   {ubyte ucVFD2Pattern}
   {ulong ulVFD2PatternCount}
   {ubyte*6 ucVFD2StartVal}
   {ushort uiVFD3Offset}
   {ushort uiVFD3Range}
   {ubyte ucVFD3Enable}
   {ubyte ucTagField}
   {ubyte*6 DestinationMAC}
   {ubyte*6 SourceMAC}
   {ubyte TypeOfService}
   {ubyte TimeToLive}
   {ushort InitialSequenceNumber}
   {ubyte*4 DestinationIP}
   {ubyte*4 SourceIP}
   {ubyte*4 Netmask}
   {ubyte*4 Gateway}
   {ubyte ucType}
   {ubyte ucCode}
   {ushort uiIdentifier}
   {ubyte*16 extra}
   {ulong ulARPOut}
   {ulong ulARPBack}
   {ulong ulARPGap}
}

struct_typedef StreamRTP {struct
   {ubyte ucActive}
   {ubyte ucProtocolType}
   {ubyte ucRandomLength}
   {ubyte ucRandomData}
   {ushort uiFrameLength}
   {ushort uiVFD1Offset}
   {ubyte ucVFD1Range}
   {ubyte ucVFD1Pattern}
   {ulong ulVFD1PatternCount}
   {ubyte*6 ucVFD1StartVal}
   {ushort uiVFD2Offset}
   {ubyte ucVFD2Range}
   {ubyte ucVFD2Pattern}
   {ulong ulVFD2PatternCount}
   {ubyte*6 ucVFD2StartVal}
   {ushort uiVFD3Offset}
   {ushort uiVFD3Range}
   {ubyte ucVFD3Enable}
   {ubyte ucTagField}
   {ubyte*6 DestinationMAC}
   {ubyte*6 SourceMAC}
   {ubyte TypeOfService}
   {ubyte TimeToLive}
   {ushort InitialSequenceNumber}
   {ubyte*4 DestinationIP}
   {ubyte*4 SourceIP}
   {ubyte*4 Netmask}
   {ubyte*4 Gateway}
   {ushort UDPSrc}
   {ushort UDPDest}
   {ushort UDPLen}
   {ubyte*2 extra1}
   {ulong RTPSyncSource}
   {ubyte RTPPayloadType}
   {ubyte*19 extra2}
}

struct_typedef StreamRTPVLAN {struct
   {ubyte ucActive}
   {ubyte ucProtocolType}
   {ubyte ucRandomLength}
   {ubyte ucRandomData}
   {ushort uiFrameLength}
   {ushort uiVFD1Offset}
   {ubyte ucVFD1Range}
   {ubyte ucVFD1Pattern}
   {ulong ulVFD1PatternCount}
   {ubyte*6 ucVFD1StartVal}
   {ushort uiVFD2Offset}
   {ubyte ucVFD2Range}
   {ubyte ucVFD2Pattern}
   {ulong ulVFD2PatternCount}
   {ubyte*6 ucVFD2StartVal}
   {ushort uiVFD3Offset}
   {ushort uiVFD3Range}
   {ubyte ucVFD3Enable}
   {ubyte ucTagField}
   {ubyte*6 DestinationMAC}
   {ubyte*6 SourceMAC}
   {ubyte TypeOfService}
   {ubyte TimeToLive}
   {ushort InitialSequenceNumber}
   {ubyte*4 DestinationIP}
   {ubyte*4 SourceIP}
   {ubyte*4 Netmask}
   {ubyte*4 Gateway}
   {ushort UDPSrc}
   {ushort UDPDest}
   {ushort UDPLen}
   {ulong RTPSyncSource}
   {ubyte RTPPayloadType}
   {ushort VLAN_Pri}
   {ushort VLAN_Cfi}
   {ushort VLAN_Vid}
   {ubyte*19 extra}
}

struct_typedef RTPCounterInfo {struct
   {ulong ulStreamNumber}
   {ulong ulFrameCount}
   {ULong*4 ulReserved}
}

struct_typedef StreamUDPDHCP {struct
   {ubyte ucActive}
   {ubyte ucProtocolType}
   {ubyte ucRandomLength}
   {ubyte ucRandomData}
   {ushort uiFrameLength}
   {ushort uiVFD1Offset}
   {ubyte ucVFD1Range}
   {ubyte ucVFD1Pattern}
   {ulong ulVFD1PatternCount}
   {ubyte*6 ucVFD1StartVal}
   {ushort uiVFD2Offset}
   {ubyte ucVFD2Range}
   {ubyte ucVFD2Pattern}
   {ulong ulVFD2PatternCount}
   {ubyte*6 ucVFD2StartVal}
   {ushort uiVFD3Offset}
   {ushort uiVFD3Range}
   {ubyte ucVFD3Enable}
   {ubyte ucTagField}
   {ubyte*6 DestinationMAC}
   {ubyte*6 SourceMAC}
   {ubyte TypeOfService}
   {ubyte TimeToLive}
   {ushort InitialSequenceNumber}
   {ubyte*4 DestinationIP}
   {ubyte*4 SourceIP}
   {ubyte*4 Netmask}
   {ubyte*4 Gateway}
   {ushort UDPSrc}
   {ushort UDPDest}
   {ushort UDPLen}
   {ubyte*4 DHCPRelayIP}
   {ubyte DHCPAction}
   {ubyte DHCPState}
   {ubyte*6 extra}
   {ushort uiActualSequenceNumber}
   {ulong ulARPStart}
   {ulong ulARPEnd}
   {ulong ulARPGap}
}


}

if {[info exists l3items_structs] == 0} then {
set l3items_structs 1

struct_typedef Layer3DHCPStatsInfo {struct
   {ulong ulStreamNumber}
   {ushort uiFailure}
   {ushort uiTimeout}
   {ushort uiDiscoverSent}
   {ushort uiOfferRcvd}
   {ushort uiReqSent}
   {ushort uiAckRcvd}
   {ushort uiNakRcvd}
   {ushort uiReleaseSent}
   {ushort uiDeclineSent}
   {ushort uiReserved}
}

struct_typedef Layer3DHCPHostInfo {struct
   {ulong ulStreamNumber}
   {ubyte*4 ucHostIP}
   {ubyte*4 ucServerIP}
   {ubyte*6 ucServerMAC}
   {ubyte*2 ucReserved}
   {ubyte*4 ucGateway}
   {ubyte*4 ucSubnet}
   {ushort uiState}
   {ushort uiReserved}
   {ulong ulTime}
}

struct_typedef Layer3DHCPExtendedHostInfo {struct
   {ulong ulStreamNumber}
   {ubyte*4 ucHostIP}
   {ubyte*4 ucServerIP}
   {ubyte*6 ucServerMAC}
   {ubyte*2 ucReserved}
   {ubyte*4 ucGateway}
   {ubyte*4 ucSubnet}
   {ushort uiState}
   {ubyte*2 ucReserved2}
   {ulong ulTime}
   {ubyte*64 szServerName}
   {ubyte*128 szFileName}
   {ubyte*312 ucOption}
}

struct_typedef Layer3DHCPConfig {struct
   {ulong ulRate}
   {ULong*6 ulReserved}
}

struct_typedef USBInfo {struct
   {ubyte*6 szUSBMAC}
}

struct_typedef USBProtocolPower {struct
   {ubyte ucProtocol}
   {ubyte ucPower}
}

struct_typedef Layer3GroupInfo {struct
   {ulong ulReserved}
   {ubyte ucGroupId}
   {ulong ulFrameLength}
   {ulong ulFrameGap}
   {ushort uiNumberOfStreams}
   {ushort uiNumberOfFrames}
   {UShort*100 uiMembers}
}

struct_typedef Layer3StreamGroup {struct
   {ulong ulFrameLength}
   {ulong ulFrameGap}
   {ushort uiNumberOfStreams}
   {UShort*100 uiMembers}
}

struct_typedef Layer3StreamTransmitMode {struct
   {ulong ulMode}
   {ULong*3 ulReserved}
}

struct_typedef Layer3ModifyStreamDelta {struct
   {ulong ulIndex}
   {ulong ulCount}
   {ulong ulField}
   {ulong ulFieldRepeat}
   {ulong ulDelta}
}

struct_typedef Layer3ModifyStreamArray {struct
   {ulong ulIndex}
   {ulong ulCount}
   {ulong ulField}
   {ulong ulFieldCount}
   {ulong ulFieldRepeat}
   {ULong*8192 ulData}
}

struct_typedef Layer3Address {struct
   {ubyte*6 szMACAddress}
   {ubyte*4 IP}
   {ubyte*4 Netmask}
   {ubyte*4 Gateway}
   {ubyte*4 PingTargetAddress}
   {int iControl}
   {int iPingTime}
   {int iSNMPTime}
   {int iRIPTime}
   {int iGeneralIPResponse}
}

struct_typedef Layer3CaptureCountInfo {struct
   {ulong ulCount}
}

struct_typedef Layer3CaptureData {struct
   {ushort uiLength}
   {byte*2048 cData}
}

struct_typedef Layer3CaptureDetailInfo {struct
   {ulong ulStatus}
   {ulong ulPacketLength}
   {ulong ulRxTimestamp}
   {ulong ulTxTimestamp}
   {ulong ulSequenceNumber}
   {ulong ulStreamNumber}
   {ubyte*96 reserved}
}

struct_typedef Layer3CaptureSetup {struct
   {ulong ulCaptureMode}
   {ulong ulCaptureLength}
   {ulong ulCaptureEvents}
   {ushort uiFilterFrameLength}
   {ubyte*10 ucReserved}
}

struct_typedef Layer3SequenceInfo {struct
   {ulong ulStream}
   {ulong ulFrames}
   {ulong ulSequenced}
   {ulong ulDuplicate}
   {ulong ulLost}
}

struct_typedef Layer3LatencyInfo {struct
   {ushort uiMinimum}
   {ushort uiMaximum}
   {ulong ulTotal}
   {ulong ulFrames}
}

struct_typedef Layer3LongLatencyInfo {struct
   {ulong ulMinimum}
   {ulong ulMaximum}
   {U64 u64Total}
   {ulong ulFrames}
}

struct_typedef Layer3StreamLatencyInfo {struct
   {ulong ulStream}
   {ushort uiAverage}
   {ushort uiMinimum}
   {ushort uiMaximum}
   {ulong ulFrames}
}

struct_typedef Layer3StreamLatencyInfo32 {struct
   {ulong ulStream}
   {ulong ulFrames}
   {U64 u64Total}
   {ulong ulMinimum}
   {ulong ulMaximum}
}

struct_typedef Layer3V1StreamLatencyInfo {struct
   {ulong ulStream}
   {ulong ulFrames}
   {U64 u64Total}
   {ulong ulMinimum}
   {ulong ulMaximum}
}

struct_typedef Layer3StreamLongLatencyInfo {struct
   {ulong ulStream}
   {U64 u64Total}
   {ulong ulMinimum}
   {ulong ulMaximum}
   {ulong ulTotalFrames}
   {ulong ulSequenced}
   {ulong ulDuplicate}
   {ulong ulLost}
   {ULong*16 ulFrames}
}

struct_typedef Layer3StreamJitterComboInfo {struct
   {ulong ulStream}
   {U64 u64Total}
   {ulong ulMinimum}
   {ulong ulMaximum}
   {ulong ulTotalFrames}
   {U64 u64TotalJitter}
   {ulong ulReserved}
   {ULong*16 ulFrames}
}

struct_typedef Layer3StreamMulticastInfo {struct
   {ulong ulStream}
   {U64 u64Total}
   {ulong ulMinimum}
   {ulong ulMaximum}
   {ulong ulRxFrames}
   {ulong ulFirstRxTime}
   {ulong ulLastRxTime}
   {ulong ulReserved}
   {ULong*16 ulFrames}
}

struct_typedef Layer3StreamDistributionInfo {struct
   {ulong ulStream}
   {ULong*16 ulFrames}
}

struct_typedef Layer3HistTagInfo {struct
   {ulong ulStream}
   {ulong ulSequence}
   {ulong ulTransmitTime}
   {ulong ulReceiveTime}
}

struct_typedef Layer3HistLatency {struct
   {ulong ulInterval}
}

struct_typedef Layer3HistDistribution {struct
   {UShort*16 uiInterval}
}

struct_typedef Layer3V2HistDistribution {struct
   {ULong*16 ulInterval}
}

struct_typedef Layer3HistActiveTest {struct
   {ulong ulTest}
   {ulong ulRecords}
}

struct_typedef Layer3IGMPInit {struct
   {ubyte ucVersion}
   {ubyte ucOptions}
   {ushort uiMaxGroups}
}

struct_typedef NSIGMPConfig {struct
   {ubyte ucVersion}
   {ubyte ucOptions}
   {ubyte*2 ucReserved}
}

struct_typedef NSIGMPAddress {struct
   {ubyte*4 ucIPAddress}
   {ulong ulLineNo}
   {ulong ulChannelNo}
   {ulong ulDLCI}
   {ubyte*16 ucReserved}
}

struct_typedef NSIGMPAddressVLAN {struct
   {ubyte*4 ucIPAddress}
   {ushort uiTPID}
   {ubyte ucPRI}
   {ubyte ucCFI}
   {ushort uiVID}
   {ubyte*8 ucReserved}
}

struct_typedef NSIGMPCounterInfo {struct
   {ulong ulTxFrames}
   {ulong ulTxJoinGroups}
   {ulong ulTxLeaveGroups}
   {ulong ulRxFrames}
   {ulong ulRxUnknownType}
   {ulong ulRxIPChecksumErrors}
   {ulong ulRxIGMPChecksumErrors}
   {ulong ulRxIGMPLengthErrors}
   {ulong ulRxWrongVersionQueries}
   {ubyte*96 ucReserved}
}

struct_typedef NSIGMPTimestampInfo {struct
   {ubyte*4 ucIPAddress}
   {ulong ulLineNo}
   {ulong ulChannelNo}
   {ulong ulDLCI}
   {ulong ulJoinTime}
   {ulong ulLeaveTime}
   {ubyte*16 ucReserved}
}

struct_typedef Layer3IGMPJoin {struct
   {ubyte*4 ucIPAddress}
}

struct_typedef Layer3IGMPLeave {struct
   {ubyte*4 ucIPAddress}
}

struct_typedef IGMPJoinLeaveTimeStampInfo {struct
   {ubyte*4 ucIPAddress}
   {ulong ulJoinTime}
   {ulong ulLeaveTime}
}

struct_typedef L3DataCheck {struct
   {ubyte bRcvMarkerCheck}
   {ubyte*3 ucReserved}
   {ubyte*8 ucMarker}
}

struct_typedef L3StreamExtension {struct
   {ulong ulFrameRate}
   {ulong ulTxMode}
   {ulong ulBurstCount}
   {ulong ulMBurstCount}
   {ulong ulBurstGap}
   {ushort uiInitialSeqNumber}
   {ubyte ucIPHeaderChecksumError}
   {ubyte ucIPTotalLengthError}
   {ubyte ucIPManipulateMode}
   {ubyte ucIncUDPPort}
   {ushort uiIPLimitCount}
   {ulong ulStartOffset}
   {ulong ulBGPatternIndex}
   {ubyte ucDataCheckEnable}
   {ubyte ucCRCErrorEnable}
   {ubyte ucRandomBGEnable}
   {ubyte ucDataIntegrityErrorEnable}
   {ubyte ucStepCount}
   {ubyte ucIPBitsOffset}
   {ubyte ucMPLSCount}
   {ubyte ucIPOptionsCount}
   {ulong ulCustomStreamID}
   {ubyte ucEnableCustomStreamID}
   {ubyte*11 ucReserved}
}

struct_typedef MPLSItem {struct
   {ulong ulLabel}
   {ubyte ucExperimentalUse}
   {ubyte ucBottomStack}
   {ubyte ucTimeToLive}
}

struct_typedef NSMPLSLabel {struct
   {ulong ulLabel}
   {ubyte ucExperimentalUse}
   {ubyte ucBottomStack}
   {ubyte ucTimeToLive}
}

struct_typedef NSMPLSList {struct
   {ushort uiNumLabels}
   {NSMPLSLabel*32 Labels}
}

struct_typedef VoiceTestSetup {struct
   {ulong ulTestDuration}
   {ULong*7 ulReserved}
}

struct_typedef L3StreamBGConfig {struct
   {ubyte*64 ucPattern}
}

struct_typedef NSVFD {struct
   {ubyte ucType}
   {ubyte ucMode}
   {ushort uiOffset}
   {ushort uiRange}
   {ulong ulCycleCount}
   {ushort uiBlockCount}
   {ubyte ucStepValue}
   {ubyte ucStepShift}
   {ubyte ucSubnetAware}
   {ubyte ucSubnetMaskLength}
   {ubyte ucEnableCarryChaining}
   {ubyte*6 ucPattern}
   {ubyte*16 ucReserved}
}

struct_typedef L3ModifyStream {struct
   {ulong ulIndex}
   {ulong ulCount}
   {ulong ulField}
   {ulong ulFieldCount}
   {ulong ulDelta}
}

struct_typedef L3ModifyStreamArray {struct
   {ulong ulIndex}
   {ulong ulCount}
   {ulong ulField}
   {ulong ulFieldCount}
   {ulong ulFieldRepeat}
   {ULong*8192 ulData}
}

struct_typedef Layer3_Tracking_Latency {struct
   {ulong ulInterval}
}

struct_typedef Layer3_Tracking_Distribution {struct
   {UShort*16 uiInterval}
}

struct_typedef Layer3_V2_Tracking_Distribution {struct
   {ULong*16 ulInterval}
}

struct_typedef Layer3_TrackingActiveTest {struct
   {ulong ulTest}
   {ulong ulRecords}
}

struct_typedef Layer3TagInfo {struct
   {ulong ulStream}
   {ulong ulSequence}
   {ulong ulTransmitTime}
   {ulong ulReceiveTime}
}

struct_typedef Layer3TrackingLatency {struct
   {ulong ulInterval}
}

struct_typedef Layer3TrackingDistribution {struct
   {UShort*16 uiInterval}
}

struct_typedef Layer3V2TrackingDistribution {struct
   {ULong*16 ulInterval}
}

struct_typedef Layer3TrackingActiveTest {struct
   {ulong ulTest}
   {ulong ulRecords}
}

struct_typedef Layer3MulticastCounters {struct
   {ulong ulTxFrames}
   {ulong ulTxJoinGroups}
   {ulong ulTxLeaveGroups}
   {ulong ulRxFrames}
   {ulong ulRxUnknownType}
   {ulong ulRxIpChecksumErrors}
   {ulong ulRxIgmpChecksumErrors}
   {ulong ulRxIgmpLengthErrors}
   {ulong ulRxWrongVersionQueries}
   {ubyte*96 reserved}
}

struct_typedef L3StatsInfo {struct
   {U64 u64RxVlanFrames}
   {U64 u64RxIPFrames}
   {U64 u64IPChecksumError}
   {ulong ulArpReplySent}
   {ulong ulArpReplyRecv}
   {ulong ulArpRequestSent}
   {ulong ulArpRequestRecv}
   {ulong ulPingReplySent}
   {ulong ulPingReplyRecv}
   {ulong ulPingRequestSent}
   {ulong ulPingRequestRecv}
   {ulong ulRxStackCount}
   {ulong ulTxStackCount}
   {U64 u64RxDataIntegrityError}
   {U64 u64RxSignatureFrames}
   {U64 u64TxSignatureFrames}
   {ULong*2 ulReserved}
}


}

if {[info exists atmitems_structs] == 0} then {
set atmitems_structs 1

struct_typedef ATMAddress {struct
   {ubyte*13 ucPrefix}
   {ubyte*6 ucEsi}
   {ubyte ucSel}
}

struct_typedef ATMLineParams {struct
   {ubyte ucFramingMode}
   {ubyte ucTxClockSource}
   {ubyte ucCellScrambling}
   {ubyte ucHecCoset}
   {ubyte ucRxErroredCells}
   {ubyte ucLoopbackEnable}
   {ubyte*4 ucIdleCellHeader}
}

struct_typedef ATMDS3E3LineParams {struct
   {ubyte ucFramingMode}
   {ubyte ucTxClockSource}
   {ubyte ucCellScrambling}
   {ubyte ucHecCoset}
   {ubyte ucRxErroredCells}
   {ubyte ucLoopbackEnable}
   {ubyte ucLineBuildout}
   {ubyte*4 ucIdleCellHeader}
}

struct_typedef ATMDS1E1LineParams {struct
   {ubyte ucFramingMode}
   {ubyte ucTxClockSource}
   {ubyte ucCellScrambling}
   {ubyte ucHecCoset}
   {ubyte ucRxErroredCells}
   {ubyte ucLoopbackEnable}
   {ubyte ucLineBuildout}
   {ubyte ucLineCoding}
   {ubyte ucLineFraming}
   {ubyte*4 ucIdleCellHeader}
}

struct_typedef ATMStream {struct
   {ushort uiIndex}
   {ubyte ucConnType}
   {ubyte ucEncapType}
   {ubyte ucGenRateClass}
   {ulong ulGenPCR}
   {ulong ulGenSCR}
   {ulong ulGenMBS}
   {long ctGenCDVT}
   {ubyte ucFwdTdType}
   {ulong ulFwdPCR0}
   {ulong ulFwdPCR01}
   {ulong ulFwdSCR0}
   {ulong ulFwdSCR01}
   {ulong ulFwdMBS0}
   {ulong ulFwdMBS01}
   {ubyte ucBwdTdType}
   {ulong ulBwdPCR0}
   {ulong ulBwdPCR01}
   {ulong ulBwdSCR0}
   {ulong ulBwdSCR01}
   {ulong ulBwdMBS0}
   {ulong ulBwdMBS01}
   {ubyte ucFwdQoS}
   {ubyte ucBwdQoS}
   {ubyte ucBcClass}
   {ubyte ucTimingReq}
   {ubyte ucTrafficType}
   {ubyte ucClipping}
   {ulong ulCellHeader}
   {ubyte*20 ucDestAtmAddr}
   {ubyte*6 ucDestMacAddr}
   {ubyte*4 ucDestIpAddr}
   {ubyte*5 ucSnapHeader}
   {ubyte ucElanInst}
}

struct_typedef ATMFrameDefinition {struct
   {ushort uiStreamIndex}
   {ushort uiFrameLength}
   {ushort uiDataLength}
   {ushort uiFrameFillPattern}
   {ulong ulFrameFlags}
   {ubyte*2048 ucFrameData}
}

struct_typedef ATMConnection {struct
   {ulong ulIndex}
   {ubyte ucType}
   {ubyte ucRateClass}
   {ulong ulRatePCR}
   {ulong ulRateSCR}
   {ulong ulRateMBS}
   {long ctCellDelayVar}
   {ulong ulCellHeader}
   {ushort uiCallSetupIndex}
   {ushort uiAddressIndex}
   {ubyte ucCallDistType}
   {ubyte ucCallLengthType}
   {ubyte ucStopOnError}
   {ubyte ucLogEvents}
   {ubyte ucEnableCellLoadGen}
   {ulong ulCallStartDelay}
   {ulong ulCallCountLimit}
   {ulong ulCallLength}
   {ulong ulRandomLengthDelta}
   {ulong ulInterCallGap}
   {ulong ulRandomGapDelta}
   {ulong ulBurstCount}
   {ulong ulInterBurstGap}
}

struct_typedef ATMConnectionEx {struct
   {ulong ulIndex}
   {ubyte ucType}
   {ubyte ucRateClass}
   {ulong ulRatePCR}
   {ulong ulRateSCR}
   {ulong ulRateMBS}
   {long ctCellDelayVar}
   {ulong ulCellHeader}
   {ushort uiCallSetupIndex}
   {ushort uiAddressIndex}
   {ubyte ucCallDistType}
   {ubyte ucCallLengthType}
   {ubyte ucStopOnError}
   {ubyte ucLogEvents}
   {ubyte ucEnableCellLoadGen}
   {ulong ulCallStartDelay}
   {ulong ulCallCountLimit}
   {ulong ulCallLength}
   {ulong ulRandomLengthDelta}
   {ulong ulInterCallGap}
   {ulong ulRandomGapDelta}
   {ulong ulBurstCount}
   {ulong ulInterBurstGap}
   {ulong ulRateMCR}
}

struct_typedef ATMConnectionCopyParams {struct
   {ulong ulSrcIndex}
   {ulong ulDstIndex}
   {ulong ulCount}
}

struct_typedef ATMConnectionModify {struct
   {ulong ulSrcIndex}
   {ulong ulCount}
   {ulong ulType}
   {long lDelta}
}

struct_typedef ATMConnectionModifyArray {struct
   {ulong ulSrcIndex}
   {ulong ulCount}
   {ulong ulID}
   {ulong ulArraySize}
   {ULong*2048 ulValues}
}

struct_typedef ATMCallSetupParams {struct
   {ushort uiCallSetupIndex}
   {ulong ulFwdTrafficDescriptorType}
   {ulong ulFwdPCR_0}
   {ulong ulFwdPCR_01}
   {ulong ulFwdSCR_0}
   {ulong ulFwdSCR_01}
   {ulong ulFwdMBS_0}
   {ulong ulFwdMBS_01}
   {ulong ulBwdTrafficDescriptorType}
   {ulong ulBwdPCR_0}
   {ulong ulBwdPCR_01}
   {ulong ulBwdSCR_0}
   {ulong ulBwdSCR_01}
   {ulong ulBwdMBS_0}
   {ulong ulBwdMBS_01}
   {ubyte ucFwdQOS}
   {ubyte ucBwdQOS}
   {ubyte ucBbcClass}
   {ubyte ucBbcTimingReq}
   {ubyte ucBbcTrafficType}
   {ubyte ucBbcSusceptibleToClipping}
}

struct_typedef ATMCallSetupParamsEx {struct
   {ushort uiCallSetupIndex}
   {ulong ulFwdTrafficDescriptorType}
   {ulong ulFwdPCR_0}
   {ulong ulFwdPCR_01}
   {ulong ulFwdSCR_0}
   {ulong ulFwdSCR_01}
   {ulong ulFwdMBS_0}
   {ulong ulFwdMBS_01}
   {ulong ulBwdTrafficDescriptorType}
   {ulong ulBwdPCR_0}
   {ulong ulBwdPCR_01}
   {ulong ulBwdSCR_0}
   {ulong ulBwdSCR_01}
   {ulong ulBwdMBS_0}
   {ulong ulBwdMBS_01}
   {ubyte ucFwdQOS}
   {ubyte ucBwdQOS}
   {ubyte ucBbcClass}
   {ubyte ucBbcTimingReq}
   {ubyte ucBbcTrafficType}
   {ubyte ucBbcSusceptibleToClipping}
   {ulong ulFwdMCR_01}
   {ulong ulBwdMCR_01}
   {ubyte ucATC}
   {ubyte ucATC_present}
   {ubyte ucInc}
   {ulong ulRM_FRTT}
   {ulong ulFwdICR_01}
   {ulong ulFwdTBE_01}
   {ulong ulFwdRIF_01}
   {ulong ulFwdRDF_01}
   {ulong ulBwdICR_01}
   {ulong ulBwdTBE_01}
   {ulong ulBwdRIF_01}
   {ulong ulBwdRDF_01}
   {ubyte ucFwdNrm_present}
   {ubyte ucFwdTrm_present}
   {ubyte ucFwdCdf_present}
   {ubyte ucFwdAdtf_present}
   {ushort usFwdNrm}
   {ushort usFwdTrm}
   {ushort usFwdCdf}
   {ushort usFwdAdtf}
   {ubyte ucBwdNrm_present}
   {ubyte ucBwdTrm_present}
   {ubyte ucBwdCdf_present}
   {ubyte ucBwdAdtf_present}
   {ushort usBwdNrm}
   {ushort usBwdTrm}
   {ushort usBwdCdf}
   {ushort usBwdAdtf}
   {ubyte ucEnableABRSetupParam}
   {ubyte ucEnableABRAddlParam}
}

struct_typedef ATMCallAddrList {struct
   {ushort uiStartAddrIndex}
   {ushort uiCount}
   {ATMAddress*128 atmAddress}
}

struct_typedef ATMILMIParams {struct
   {ulong ulColdStartTimer}
   {ulong ulRegTimeoutTimer}
   {ubyte*6 ucESI}
}

struct_typedef ATMILMIStaticParams {struct
   {ATMAddress atmAddress}
}

struct_typedef ATMSSCOPParams {struct
   {ulong ulMaxCC}
   {ulong ulMaxPD}
   {ulong ulMaxStat}
   {ulong ulMaxReseq}
   {ulong ulRxWindow}
   {ulong ulTmrCC}
   {ulong ulTmrKeepAlive}
   {ulong ulTmrNoResp}
   {ulong ulTmrPoll}
   {ulong ulTmrIdle}
}

struct_typedef ATMUNIParams {struct
   {ulong ulVer}
   {ulong ulTmrT303}
   {ulong ulTmrT308}
   {ulong ulTmrT310}
   {ulong ulTmrT313}
   {ulong ulTmrT322}
   {ulong ulTmrT398}
   {ulong ulTmrT399}
   {ulong ulTmrT309}
   {ulong ulTmrT316}
   {ulong ulTmrT317}
   {ulong ulTmrTeardown}
}

struct_typedef ATMELANRegister {struct
   {ubyte ucInstance}
   {ubyte ucInitMethod}
   {ATMAddress ManualAtmAddr}
   {ubyte ucC2Type}
   {ubyte ucC3Mtu}
   {ubyte*32 ucC5Name}
   {ubyte*6 ucC6MacAddr}
   {ushort uiC7ControlTimeout}
   {ushort uiC13ArpRetryCount}
   {ushort uiC20ArpResponseTime}
}

struct_typedef ATMELANDeregister {struct
   {ubyte ucInstance}
}

struct_typedef ATMClassicalIP {struct
   {ubyte*20 ucArpServerAtmAddr}
   {ubyte*4 ucArpClientIpAddr}
   {ulong ulInterArpGap}
   {ulong ulInterCallGap}
   {ushort uiArpRetries}
   {ubyte ucInvArpReplyOff}
}

struct_typedef ATMStartCardSetupParams {struct
   {ulong ulConnIndex}
   {ulong ulCount}
}

struct_typedef ATMStopCardSetupParams {struct
   {ulong ulConnIndex}
   {ulong ulCount}
   {ubyte ucStopNewCalls}
   {ubyte ucStopCellLoadGen}
   {ubyte ucTeardownCalls}
}

struct_typedef ATMStreamControl {struct
   {ubyte ucAction}
   {ulong ulStreamIndex}
   {ulong ulStreamCount}
}

struct_typedef ATMTrigger {struct
   {ubyte ucEnable}
   {ubyte ucMode}
   {ubyte ucDirection}
   {ubyte ucCompCombo}
   {ubyte ucHeaderNoMatch}
   {ubyte ucComp1NoMatch}
   {ubyte ucComp2NoMatch}
   {ulong ulHeaderPattern}
   {ulong ulHeaderMask}
   {ushort uiComp1Offset}
   {ushort uiComp1Range}
   {ubyte*6 ucComp1Pattern}
   {ubyte*6 ucComp1Mask}
   {ushort uiComp2Offset}
   {ushort uiComp2Range}
   {ubyte*6 ucComp2Pattern}
   {ubyte*6 ucComp2Mask}
}

struct_typedef ATMGlobalTrigger {struct
   {ubyte ucEnable}
   {ubyte ucCompCombo}
   {ulong ulComp2Pattern}
   {ushort uiComp1Offset}
   {ushort uiComp2Offset}
   {ulong ulComp1Mask}
   {ulong ulComp2Mask}
}

struct_typedef ATMConnTriggerParams {struct
   {ushort uiConnIndex}
   {ulong ulComp1Pattern}
}

struct_typedef ATMCardInfo {struct
   {ushort uiMainFwVersion}
   {ushort uiSarBootFwVersion}
   {ushort uiSarMainFwVersion}
   {ushort uiPciFpgaVersion}
   {ushort uiGapFpgaVersion}
   {ushort uiBptrgFpgaVersion}
   {ushort uiAm29240Revision}
   {ushort uiBt8222Revision}
   {ushort uiL64363Revision}
   {ushort uiImageCheck}
   {ushort uiDiagFlags}
   {ushort uiProductCode}
}

struct_typedef ATMCardType {struct
   {ushort uiProductCode}
   {UShort*15 uiReserved}
}

struct_typedef ATMCardCapabilities {struct
   {ulong ulLineCellRate}
   {ushort uiMaxStream}
   {ushort uiMaxConnection}
   {ushort uiMaxCalls}
   {ushort uiMaxHostTxBuffer}
   {ushort uiMaxHostRxBuffer}
   {ushort uiMaxLaneClients}
   {ushort uiMaxVPIBits}
   {ushort uiMaxVCIBits}
   {ushort uiSupportedFeatures}
   {ushort uiMaxRateWithTeardown}
   {ushort uiMaxRateWithoutTeardown}
   {ubyte ucUNI_Version}
}

struct_typedef ATMSonetLineInfo {struct
   {ushort uiAlarmCurrent}
   {ushort uiAlarmHistory}
   {ulong ulSectionBip8}
   {ulong ulLineBip24}
   {ulong ulLineFebe}
   {ulong ulPathBip8}
   {ulong ulPathFebe}
   {ushort uiSectionBip8Rate}
   {ushort uiLineBip24Rate}
   {ushort uiLineFebeRate}
   {ushort uiPathBip8Rate}
   {ushort uiPathFebeRate}
}

struct_typedef ATMDS3E3LineInfo {struct
   {ushort uiAlarmCurrent}
   {ushort uiAlarmHistory}
   {ulong ulCodeViolationCount}
   {ulong ulFrameErrorCount}
   {ulong ulParityErrorCount}
   {ulong ulCParityErrorCount}
   {ulong ulFebeErrorCount}
   {ulong ulFerfErrorCount}
   {ulong ulPlcpFrameErrorCount}
   {ulong ulPlcpBipErrorCount}
   {ulong ulPlcpFebeErrorCount}
   {ulong ulCodeViolationRate}
   {ulong ulFrameErrorRate}
   {ulong ulParityErrorRate}
   {ulong ulCParityErrorRate}
   {ulong ulFebeErrorRate}
   {ulong ulFerfErrorRate}
   {ulong ulPlcpFrameErrorRate}
   {ulong ulPlcpBipErrorRate}
   {ulong ulPlcpFebeErrorRate}
}

struct_typedef ATMDS1E1LineInfo {struct
   {ushort uiAlarmCurrent}
   {ushort uiAlarmHistory}
   {ulong ulCodeViolationCount}
   {ulong ulFrameErrorCount}
   {ulong ulSyncErrorCount}
   {ulong ulFebeErrorCount}
   {ulong ulPlcpOofErrorCount}
   {ulong ulPlcpFrameErrorCount}
   {ulong ulPlcpBipErrorCount}
   {ulong ulPlcpFebeErrorCount}
   {ulong ulCodeViolationRate}
   {ulong ulFrameErrorRate}
   {ulong ulSyncErrorRate}
   {ulong ulFebeErrorRate}
   {ulong ulPlcpOofErrorRate}
   {ulong ulPlcpFrameErrorRate}
   {ulong ulPlcpBipErrorRate}
   {ulong ulPlcpFebeErrorRate}
}

struct_typedef ATMLayerInfo {struct
   {U64 ullTxCell}
   {ulong ulTxCellRate}
   {U64 ullRxCell}
   {ulong ulRxCellRate}
   {U64 ullRxHecCorrErrors}
   {ulong ulRxHecCorrErrorsRate}
   {U64 ullRxHecUncorrErrors}
   {ulong ulRxHecUncorrErrorsRate}
}

struct_typedef ATMAAL5LayerInfo {struct
   {ulong ulTimeStamp}
   {ulong ulTxCell}
   {ulong ulTxFrame}
   {ulong ulRxCell}
   {ulong ulRxFrame}
   {ulong ulRxCRC32Errors}
   {ulong ulRxLengthErrors}
}

struct_typedef ATMVCCIStatus {struct
   {ulong ulCellHeader}
   {ulong ulTimeStamp}
   {ulong ulTxFrame}
   {ulong ulRxFrame}
}

struct_typedef ATMVCCInfo {struct
   {ushort uiIndex}
   {ushort uiCount}
   {ATMVCCIStatus*2048 status}
}

struct_typedef ATMTriggerInfo {struct
   {ulong ulTrigger}
   {ulong ulLatency}
}

struct_typedef ATMConnTriggerStatus {struct
   {ulong ulTrigger}
   {ulong ulTxTimestamp}
   {ulong ulRxTimestamp}
}

struct_typedef ATMConnTriggerInfo {struct
   {ushort uiStartConnIndex}
   {ushort uiConnCount}
   {ATMConnTriggerStatus*2048 status}
}

struct_typedef ATMStreamDetailedStatus {struct
   {ushort uiStreamIndex}
   {ushort uiConnIndex}
   {ulong ulCellHeader}
   {ubyte ucStreamState}
   {ubyte ucArpRetryCount}
   {ulong ulArpRespLatency}
   {ubyte ucSvcCallState}
   {ubyte ucSvcCauseLoc}
   {ubyte ucSvcCauseCode}
   {ulong ulSvcSetupLatency}
}

struct_typedef ATMStreamDetailedInfo {struct
   {ushort uiStartIndex}
   {ushort uiCount}
   {ATMStreamDetailedStatus*2048 status}
}

struct_typedef ATMStreamSearchInfo {struct
   {ushort uiStartIndex}
   {ushort uiCount}
   {ushort uiReturnItemId}
   {ushort uiSearchItemId}
   {ulong ulSearchRangeLow}
   {ulong ulSearchRangeHigh}
   {ushort uiReturnItemSize}
   {ushort uiReserved}
   {ULong*2048 ulItem}
}

struct_typedef ATMConnectionStatus {struct
   {ulong ulCellHeader}
   {ulong ulCallsAttempted}
   {ulong ulCallsEstablished}
   {ulong ulCallsFailed}
   {ulong ulCallsReleasedInError}
   {ubyte ucState}
   {ubyte ucUNICallState}
   {ubyte ucLastCauseLoc}
   {ubyte ucLastCauseCode}
   {ulong ulMinRTSetupLatency}
   {ulong ulMaxRTSetupLatency}
   {ulong ulTotRTSetupLatency}
   {ulong ulMinTeardownAckLatency}
   {ulong ulMaxTeardownAckLatency}
   {ulong ulTotTeardownAckLatency}
   {ulong ulTestDuration}
}

struct_typedef ATMConnectionInfo {struct
   {ulong ulIndex}
   {ulong ulCount}
   {ATMConnectionStatus*512 status}
}

struct_typedef ATMConnectionInfoSummary {struct
   {ulong ulIndex}
   {ulong ulCount}
   {ulong ulCallsAttempted}
   {ulong ulCallsEstablished}
   {ulong ulCallsFailed}
   {ulong ulCallsReleasedInError}
   {ulong ulCallsActive}
   {ulong ulMinRTSetupLatency}
   {ulong ulMaxRTSetupLatency}
   {ulong ulTotRTSetupLatency}
   {ulong ulMinTeardownAckLatency}
   {ulong ulMaxTeardownAckLatency}
   {ulong ulTotTeardownAckLatency}
   {ulong ulTestDuration}
   {ulong ulFirstFailedIndex}
}

struct_typedef ATMConnection64Status {struct
   {ulong ulCellHeader}
   {ulong ulCallsAttempted}
   {ulong ulCallsEstablished}
   {ulong ulCallsFailed}
   {ulong ulCallsReleasedInError}
   {ubyte ucState}
   {ubyte ucUNICallState}
   {ubyte ucLastCauseLoc}
   {ubyte ucLastCauseCode}
   {U64 ullMinRTSetupLatency}
   {U64 ullMaxRTSetupLatency}
   {U64 ullTotRTSetupLatency}
   {U64 ullMinTeardownAckLatency}
   {U64 ullMaxTeardownAckLatency}
   {U64 ullTotTeardownAckLatency}
   {U64 ullTestDuration}
}

struct_typedef ATMConnection64Info {struct
   {ulong ulIndex}
   {ulong ulCount}
   {ATMConnection64Status*512 status}
}

struct_typedef ATMConnection64InfoSummary {struct
   {ulong ulIndex}
   {ulong ulCount}
   {ulong ulCallsAttempted}
   {ulong ulCallsEstablished}
   {ulong ulCallsFailed}
   {ulong ulCallsReleasedInError}
   {ulong ulCallsActive}
   {U64 ullMinRTSetupLatency}
   {U64 ullMaxRTSetupLatency}
   {U64 ullTotRTSetupLatency}
   {U64 ullMinTeardownAckLatency}
   {U64 ullMaxTeardownAckLatency}
   {U64 ullTotTeardownAckLatency}
   {U64 ullTestDuration}
   {ulong ulFirstFailedIndex}
   {ulong ulFirstActiveFailedIndex}
}

struct_typedef ATMILMIInfo {struct
   {ubyte ucState}
   {ushort uiColdStarts}
   {ushort uiGoodPackets}
   {ushort uiBadPackets}
   {ushort uiSentPackets}
   {ATMAddress RegAddr}
}

struct_typedef ATMSAALInfo {struct
   {ubyte ucSscopState}
   {ubyte ucSaalState}
   {ulong ulVtSendState}
   {ulong ulVtPollSend}
   {ulong ulVtMaxSend}
   {ulong ulVtPollData}
   {ulong ulVrRxState}
   {ulong ulVrHighestExpected}
   {ulong ulVrMaxReceive}
}

struct_typedef ATMSigEmulatorInfo {struct
   {ulong ulCallsHandled}
   {ulong ulCallsProgressing}
   {ulong ulCallsActive}
}

struct_typedef ATMSigRestartAckInfo {struct
   {ubyte ucCurrentState}
}

struct_typedef ATMSigTraceParams {struct
   {ubyte ucStopConfig}
}

struct_typedef ATMSigTraceEventInfo {struct
   {ulong ulEventCount}
}

struct_typedef ATMSigTraceEventData {struct
   {ubyte ucEvent}
   {ubyte ucCardNumber}
   {ubyte ucCauseLocation}
   {ubyte ucCauseCode}
   {ulong ulCallSeqNumber}
   {ulong ulTimeStamp}
}

struct_typedef ATMELANInfo {struct
   {ubyte ucInstance}
   {ubyte ucState}
   {ubyte ucC2Type}
   {ubyte ucC3MTU}
   {ubyte*32 ucC5Name}
   {ushort uiC14LecIndex}
   {ushort uiCtrlDirectConnIndex}
   {ushort uiCtrlDistConnIndex}
   {ushort uiMcastSendConnIndex}
   {ushort uiMcastFwdConnIndex}
   {ATMAddress LesAtmAddr}
   {ATMAddress BusAtmAddr}
}

struct_typedef ATMClassicalIPInfo {struct
   {ubyte ucSvcCallState}
   {ubyte ucSvcCauseLoc}
   {ubyte ucSvcCauseCode}
   {ubyte ucReserved}
   {ushort uiArpRequestPackets}
   {ushort uiArpResponsePackets}
   {ushort uiInarpRequestPackets}
   {ushort uiInarpResponsePackets}
}

struct_typedef ATMSigEmulTeardown {struct
   {ubyte ucTeardown}
   {ubyte*3 ucReserved1}
   {ULong*3 ucReserved2}
}

struct_typedef ATMPVCADNewParams {struct
   {ulong ulTmrOutstandingReqid}
   {ulong ulPort}
}

struct_typedef ATMPVCADVPIVCIForGetnext {struct
   {ubyte ucReserved}
   {ubyte ucVPI}
   {ushort uiVCI}
   {ulong ulReserved}
}

struct_typedef ATMPVCADResponse {struct
   {ubyte ucEntryState}
   {ubyte ucVPI}
   {ushort uiVCI}
   {ulong ulPVCStatus}
   {ulong ulFwdTrafficDescriptorType}
   {ulong ulFwdPCR_0}
   {ulong ulFwdPCR_01}
   {ulong ulFwdSCR_0}
   {ulong ulFwdSCR_01}
   {ulong ulFwdMBS_0}
   {ulong ulFwdMBS_01}
   {ulong ulBwdTrafficDescriptorType}
   {ulong ulBwdPCR_0}
   {ulong ulBwdPCR_01}
   {ulong ulBwdSCR_0}
   {ulong ulBwdSCR_01}
   {ulong ulBwdMBS_0}
   {ulong ulBwdMBS_01}
   {ubyte ucFwdQOS}
   {ubyte ucBwdQOS}
   {ubyte*2 ucReserved}
}

struct_typedef ATMVCDBListReq {struct
   {ulong ulStartEntryNum}
   {ubyte ucEntryState}
   {ubyte*3 ucReserved}
   {ulong ulEntryCount}
}

struct_typedef ATMVCDBListHdr {struct
   {ulong ulStartEntryNum}
   {ubyte ucEntryState}
   {ubyte*3 ucReserved}
   {ulong ulEntryCount}
}

struct_typedef ATMVCDBEntryParams {struct
   {ulong ulPVCStatus}
}

struct_typedef ATMVCDBClearFlagReq {struct
   {ushort uiFlags}
}

struct_typedef ATMVCDBEntryRtvl {struct
   {ulong ulEntryNum}
   {ulong ulStateTimestamp}
   {ubyte ucEntryState}
   {ubyte ucEncapType}
   {ubyte ucReserved1}
   {ubyte ucVPI}
   {ushort uiVCI}
   {ushort uiConnIndex}
   {ulong ulCallRef}
   {ulong ulFwdTrafficDescriptorType}
   {ulong ulFwdPCR_0}
   {ulong ulFwdPCR_01}
   {ulong ulFwdSCR_0}
   {ulong ulFwdSCR_01}
   {ulong ulFwdMBS_0}
   {ulong ulFwdMBS_01}
   {ulong ulBwdTrafficDescriptorType}
   {ulong ulBwdPCR_0}
   {ulong ulBwdPCR_01}
   {ulong ulBwdSCR_0}
   {ulong ulBwdSCR_01}
   {ulong ulBwdMBS_0}
   {ulong ulBwdMBS_01}
   {ubyte ucFwdQOS}
   {ubyte ucBwdQOS}
   {ubyte*2 ucReserved2}
   {ubyte ucBbcClass}
   {ubyte ucBbcTimingReq}
   {ubyte ucBbcTrafficType}
   {ubyte ucBbcSusceptibleToClipping}
   {ATMAddress AtmCaller}
   {ubyte*4 ucIPAddr}
   {ubyte*4 ucReserved3}
}

struct_typedef ATMVCDBInfo {struct
   {ulong ulStartEntryNum}
   {ubyte ucEntryState}
   {ubyte*3 ucReserved}
   {ulong ulEntryCount}
   {ATMVCDBEntryRtvl*512 status}
}

struct_typedef ATMVCDBCPurge {struct
   {ubyte ucEntryState}
}

struct_typedef ATMIncomingSVCMethod {struct
   {ubyte*3 ucReserved}
   {ubyte ucMethod}
}

struct_typedef ATMVCDBCounts {struct
   {ulong ulNewSVCCount}
   {ulong ulStableSVCCount}
   {ulong ulModifiedSVCCount}
   {ulong ulDeletedSVCCount}
   {ulong ulTransitorySVCCount}
}

struct_typedef ATMPerConnBurstCount {struct
   {ushort uiStartConnIdx}
   {ushort uiConnCount}
   {ubyte ucFunction}
   {ubyte ucReserved}
   {ushort uiMultiBurstCount}
   {ulong ulInterBurstGap}
   {ulong ulFrameBurstSize}
}

struct_typedef ATMPerPortBurstCount {struct
   {ubyte ucFunction}
   {ubyte*3 ucReserved}
   {ulong ulReserved}
   {ulong ulFrameBurstSize}
}

struct_typedef ATMStreamParamsCopy {struct
   {ushort uiSrcStrNum}
   {ushort uiDstStrNum}
   {ushort uiDstStrCount}
   {ushort uiReserved}
   {ulong ulReserved}
}

struct_typedef ATMStreamParamsModify {struct
   {ushort uiStartStrNum}
   {ushort uiStrCount}
   {ushort uiParamItemID}
   {ushort uiParamCount}
   {ubyte*2048 ucData}
}

struct_typedef ATMStreamParamsFill {struct
   {ushort uiSrcStrNum}
   {ushort uiDstStrNum}
   {ushort uiDstStrCount}
   {ushort uiParamItemID}
   {ubyte*20 ucDelta}
}

struct_typedef ATMFrameCopyMod {struct
   {ushort uiStrIdx}
   {ushort uiDataOffset}
   {ubyte ucDataLen}
   {ubyte*3 ucReserved}
   {ubyte*12 ucData}
}

struct_typedef ATMFrameCopyReq {struct
   {ushort uiStartStrNum}
   {ushort uiStrCount}
   {ushort uiNumMods}
   {ATMFrameCopyMod*100 ModArray}
}

struct_typedef ATMSchedParams {struct
   {ulong ulUtilization}
   {ushort uiSchedType}
   {ushort uiReserved}
   {ulong ulReserved1}
   {ulong ulReserved2}
}

struct_typedef ATMPETLogFileReq {struct
   {ubyte ucFunction}
   {ubyte*3 ucReserved}
   {ulong ulLogFileSize}
}

struct_typedef ATMPETReq {struct
   {ulong ulReserved1}
   {ulong ulReserved2}
   {ulong ulConnTraceEvents}
   {ulong ulILMITraceEvents}
   {ulong ulLANETraceEvents}
   {ulong ulSAALTraceEvents}
}

struct_typedef ATMPETReadReq {struct
   {ulong ulReserved}
   {ushort uiReserved}
   {ushort uiEntryCount}
}

struct_typedef ATMPETListHdr {struct
   {ulong ulReserved}
   {ushort uiReserved}
   {ushort uiEntryCount}
}

struct_typedef ATMPETEntryRtvl {struct
   {ulong ulRefNum}
   {ulong ulTimeStamp}
   {ubyte*140 ucEventData}
}

struct_typedef ATMExtVCCIStatus {struct
   {ulong ulConnIndex}
   {ulong ulCellHeader}
   {ulong ulTimeStamp}
   {ulong ulTxFrame}
   {ulong ulRxFrame}
   {ulong ulRxCRC32Err}
   {ulong ulRxTriggerCt}
   {ULong*2 ulReserved}
}

struct_typedef ATMExtVCCInfo {struct
   {ushort uiIndex}
   {ushort uiCount}
   {ATMExtVCCIStatus*2048 status}
}

struct_typedef ATMStreamTriggerTimeStatus {struct
   {ulong ulTrigger}
   {ulong ulTxTimestamp}
   {ulong ulRxTimestamp}
   {ulong ulTimestamp}
}

struct_typedef ATMStreamTriggerTimeInfo {struct
   {ushort uiStartIndex}
   {ushort uiCount}
   {ATMStreamTriggerTimeStatus*2048 status}
}

struct_typedef ATMConfigureDUT {struct
   {ushort iPortID}
   {ushort iIlmiMethod}
   {ATMDS1E1LineParams Line}
   {byte*3 Reserved1}
   {ATMSSCOPParams SSCOP}
   {ATMUNIParams UNI}
   {ATMILMIParams ILMI}
   {ATMILMIStaticParams ILMIStatic}
   {ubyte ucConnectionType}
   {ubyte ucEncaptionType}
   {ubyte ucVPI}
   {ubyte*2 ucVCI}
   {ATMClassicalIP ClassicalIP}
   {byte*75 Reserved2}
}


}

if {[info exists gigitems_structs] == 0} then {
set gigitems_structs 1

struct_typedef GIGCaptureSetup {struct
   {ubyte ucCRCErrors}
   {ubyte ucRxTrigger}
   {ubyte ucTxTrigger}
   {ubyte ucRCErrors}
   {ubyte ucFilterMode}
   {ubyte ucStartStopOnConditionMode}
   {ubyte uc64BytesOnly}
   {ubyte ucLast64Bytes}
   {ubyte ucStartStop}
}

struct_typedef GIGTransmit {struct
   {ushort uiMainLength}
   {ubyte ucPreambleByteLength}
   {ubyte ucFramesPerCarrier}
   {ulong ulGap}
   {ubyte ucMainRandomBackground}
   {ubyte ucBG1RandomBackground}
   {ubyte ucBG2RandomBackground}
   {ubyte ucSS1RandomBackground}
   {ubyte ucSS2RandomBackground}
   {ubyte ucMainCRCError}
   {ubyte ucBG1CRCError}
   {ubyte ucBG2CRCError}
   {ubyte ucSS1CRCError}
   {ubyte ucSS2CRCError}
   {ubyte ucJabberCount}
   {ubyte ucLoopback}
   {ulong ulBG1Frequency}
   {ulong ulBG2Frequency}
   {ushort uiBG1Length}
   {ushort uiBG2Length}
   {ushort uiSS1Length}
   {ushort uiSS2Length}
   {ushort uiLinkConfiguration}
   {ushort uiVFD1Offset}
   {short iVFD1Range}
   {ubyte ucVFD1Mode}
   {ulong ulVFD1CycleCount}
   {ubyte*8 ucVFD1Data}
   {ushort uiVFD2Offset}
   {short iVFD2Range}
   {ubyte ucVFD2Mode}
   {ulong ulVFD2CycleCount}
   {ubyte*8 ucVFD2Data}
   {ushort uiVFD3Offset}
   {ushort uiVFD3Range}
   {ulong ulVFD3Count}
   {ubyte ucVFD3Mode}
   {ubyte ucMainBG1Mode}
   {ulong ulBurstCount}
   {ulong ulMultiburstCount}
   {ulong ulInterBurstGap}
   {ubyte ucTransmitMode}
   {ubyte ucEchoMode}
   {ubyte ucPeriodicGap}
   {ubyte ucCountRcverrOrOvrsz}
   {ubyte ucGapByBitTimesOrByRate}
   {ubyte ucRandomLengthEnable}
   {ushort uiVFD1BlockCount}
   {ushort uiVFD2BlockCount}
   {ushort uiVFD3BlockCount}
   {ubyte ucControlBits}
   {ubyte ucError}
}

struct_typedef GIGAltTransmit {struct
   {ubyte ucEnableSS1}
   {ubyte ucEnableSS2}
   {ubyte ucEnableBG1}
   {ubyte ucEnableBG2}
   {ubyte ucEnableHoldoff}
   {ubyte*3 ucReserved}
}

struct_typedef GIGAutoFiberNegotiate {struct
   {ubyte ucMode}
   {ubyte ucRestart}
   {ushort uiLinkConfiguration}
   {ubyte ucEnableCCode}
   {ubyte ucEnableHoldoff}
   {ubyte ucIgnoreLink}
   {ubyte*6 ucReserved}
}

struct_typedef GIGTrigger {struct
   {ubyte ucTrigger1Mode}
   {ubyte ucTrigger1Range}
   {ushort uiTrigger1Offset}
   {ubyte*8 ucTrigger1Data}
   {ubyte*8 ucTrigger1Mask}
   {ubyte ucTrigger2Mode}
   {ubyte ucTrigger2Range}
   {ushort uiTrigger2Offset}
   {ubyte*8 ucTrigger2Data}
   {ubyte*8 ucTrigger2Mask}
   {ubyte ucTriggerMode}
   {ubyte ucReserved}
}

struct_typedef GIGCaptureFrameInfo {struct
   {ulong ulFrame}
   {ulong reserved1}
   {U64 ullTimestamp}
   {ushort uiStatus}
   {ushort uiLength}
}

struct_typedef GIGCaptureInfo {struct
   {GIGCaptureFrameInfo*96 FrameInfo}
}

struct_typedef GIGCaptureCountInfo {struct
   {ulong ulCount}
}

struct_typedef GIGCaptureDataInfo {struct
   {ulong ulFrame}
   {ubyte*2048 ucData}
}

struct_typedef GIGCardInfo {struct
   {ushort uiLinkConfiguration}
   {ulong ulLinkStateChanges}
}

struct_typedef GIGCounterInfo {struct
   {U64 ullTxFrames}
   {U64 ullTxBytes}
   {U64 ullTxTriggers}
   {ulong ulTxLatency}
   {U64 ullRxFrames}
   {U64 ullRxBytes}
   {U64 ullRxTriggers}
   {ulong ulRxLatency}
   {U64 ullCRCErrors}
   {U64 ullOverSize}
   {U64 ullUnderSize}
}

struct_typedef GIGRateInfo {struct
   {ulong ulTxFrames}
   {ulong ulTxBytes}
   {ulong ulTxTriggers}
   {ulong ulRxFrames}
   {ulong ulRxBytes}
   {ulong ulRxTriggers}
   {ulong ulCRCErrors}
   {ulong ulOverSize}
   {ulong ulUnderSize}
}

struct_typedef GIGVersions {struct
   {ushort uiFirmwareVersion}
   {ushort uiTransmitDataVersion}
   {ushort uiTransmitControlVersion}
   {ushort uiTransmitLowlevelVersion}
   {ushort uiReceiveDataVersion}
   {ushort uiReceiveControlVersion}
   {ushort uiReceiveLowlevelVersion}
   {ushort uiBackplaneControlVersion}
   {ushort uiLinkControlVersion}
   {ubyte ucFirmwareCheck}
   {ubyte ucTransmitDataCheck}
   {ubyte ucTransmitControlCheck}
   {ubyte ucTransmitLowlevelCheck}
   {ubyte ucReceiveDataCheck}
   {ubyte ucReceiveControlCheck}
   {ubyte ucReceiveLowlevelCheck}
   {ubyte ucBackplaneControlCheck}
   {ubyte ucLinkControlCheck}
   {ubyte ucBootVersion}
   {ubyte*16 ucReserved}
}

struct_typedef GIGCaptureInfoRequest {struct
   {ulong ulStartIndex}
   {ulong ulEndIndex}
}

struct_typedef GIGCaptureData {struct
   {ulong ulFrame}
   {ubyte*2048 ucData}
}


}

if {[info exists fritems_structs] == 0} then {
set fritems_structs 1

struct_typedef FRLineCfg {struct
   {ulong ulSpeed}
   {ulong ulProgBits}
   {ulong ulProgBitsLen}
   {ubyte ucLineMode}
   {ubyte ucClocking}
   {ubyte ucClkPolarity}
   {ubyte ucEncoding}
   {ubyte ucGapCtl}
   {ubyte ucLoopbackOn}
   {ubyte ucCrcOff}
   {ubyte ucUseCRC32}
   {ubyte ucDataUnchanged}
   {ubyte ucDsrOn}
   {ubyte ucCtsOn}
   {ubyte ucDcdOn}
   {ubyte ucTmOn}
   {ubyte ucDtrOn}
   {ubyte ucRtsOn}
   {ubyte ucRdlOn}
   {ubyte ucLlbOn}
   {ubyte ucRxClocking}
   {ubyte ucRxClkPolarity}
   {ubyte*13 ucReserved}
}

struct_typedef FRT1E1LineCfg {struct
   {ubyte ucLineMode}
   {ubyte ucClocking}
   {ubyte ucDataEncoding}
   {ubyte ucGapCtl}
   {ubyte ucCrcOff}
   {ubyte ucUseCRC32}
   {ubyte ucDataUnchanged}
   {ubyte ucLoopbackEnable}
   {ubyte ucLineBuildout}
   {ubyte ucLineCoding}
   {ubyte ucLineFraming}
   {ubyte*32 ucChannels}
   {ubyte*9 ucReserved}
}

struct_typedef FRT1E1LineInfo {struct
   {ushort uiAlarmCurrent}
   {ushort uiAlarmHistory}
   {ulong ulCodeVviolationC}
   {ulong ulFrameErrorC}
   {ulong ulSyncErrorC}
   {ulong ulCodeViolationR}
   {ulong ulFrameErrorR}
   {ulong ulSyncErrorR}
   {ULong*4 reserve}
}

struct_typedef FRCardCfg {struct
   {ulong ulMultiBurstCnt}
   {ulong ulBurstCnt}
   {ulong ulInterBurstGap}
   {ulong ulTransmitMode}
   {ubyte ucCardNum}
   {ubyte ucGroupMember}
   {ubyte*6 ucMACAddress}
   {ubyte*4 ucIPAddress}
   {ubyte*4 ucNetmask}
   {ubyte*4 ucDefaultGateway}
   {ubyte*4 ucPingTargetAddress}
   {ubyte ucLatencyScaling}
   {ubyte ucHistogramType}
   {ubyte ucLmiOn}
   {ubyte ucSnmpFrames}
   {ubyte ucProtocolFrames}
   {ubyte ucPingFrames}
   {ubyte ucRipPeriod}
   {ubyte ucSnmpPeriod}
   {ubyte ucPingPeriod}
   {ubyte ucGeneralIPResponse}
   {ubyte ucEncapType}
   {ubyte*3 reserve1}
   {ubyte ucHistogramNoDE}
   {ubyte ucFrmDistType}
   {ubyte ucIntervalTime}
   {ubyte ucHistogramPerPVC}
   {ubyte*11 ucReserved}
}

struct_typedef FRCardProtocolCfg {struct
   {ubyte ucProtoStack}
   {ubyte ucEncapType}
   {ubyte*2 pad}
   {ULong*10 reserved}
}

struct_typedef FRLayer3LongLatencyDEInfo {struct
   {ulong ulMinimum}
   {ulong ulMaximum}
   {U64 u64Total}
   {ulong ulFrames}
   {ulong ulDEMinimum}
   {ulong ulDEMaximum}
   {U64 u64DETotal}
   {ulong ulDEFrames}
}

struct_typedef FRTriggerCfg {struct
   {ubyte ucEnable}
   {ubyte ucDirection}
   {ubyte ucCompCombo}
   {ubyte ucReserved1}
   {ushort uiTrig1Offset}
   {ushort uiTrig1Range}
   {ubyte*6 ucTrig1Pattern}
   {ubyte*6 ucTrig1Mask}
   {ushort uiTrig2Offset}
   {ushort uiTrig2Range}
   {ubyte*6 ucTrig2Pattern}
   {ubyte*6 ucTrig2Mask}
   {ubyte*20 ucReserved}
}

struct_typedef FRIPSubnetRegister {struct
   {ushort uiIPSubnetId}
   {ubyte*4 ucIPAddress}
   {ubyte*4 ucNetmask}
   {ubyte*4 ucDefaultGateway}
}

struct_typedef FRIPSubnetDeRegister {struct
   {ushort uiSubnetCount}
   {ushort uiIPSubnetId}
}

struct_typedef FRPvcTableEntry {struct
   {ulong ulCIR}
   {ushort uiDLCI}
   {ushort uiFrameSize}
   {ulong ulBc}
   {ulong ulAccessRate}
   {ulong ulBe}
   {ushort uiFrameRate}
   {ushort uiStreamCount}
   {ushort uiIPSubnetId}
   {ubyte*12 ucReserved}
}

struct_typedef FRPvcStrmMapCfg {struct
   {ulong ulStreamId}
   {ushort uiDLCI}
   {ushort uiVfdState}
   {ushort uiBgFillLen}
   {ushort uiMinFrameSize}
   {ushort uiMaxFrameSize}
   {ubyte ucFcsError}
   {ubyte ucAbortFlag}
   {ubyte ucEncapType}
   {ubyte ucCR}
   {ubyte ucFECN}
   {ubyte ucBECN}
   {ubyte ucDE}
   {ubyte ucReserved1}
   {ubyte*16 ucEncapHeader}
   {ubyte*12 ucReserved}
}

struct_typedef FRLmiCfg {struct
   {ubyte ucLinkManagement}
   {ubyte ucUNIMode}
   {ubyte ucNN1}
   {ubyte ucNN2}
   {ubyte ucNN3}
   {ubyte ucNN4}
   {ubyte ucNT1}
   {ubyte ucNT2}
   {ubyte ucNT3}
}

struct_typedef FRVersionInfo {struct
   {ushort uiMainFwVersion}
   {ushort uiBootFwVersion}
   {ushort uiFpgaVersion}
}

struct_typedef FRLinkStatusInfo {struct
   {ulong ulSpeed}
   {ULong*19 ulReserved}
}

struct_typedef FRPVCStatusInfo {struct
   {ubyte*384 ucBitMap}
}

struct_typedef FRLinkInfo {struct
   {ulong ulTimestamp}
   {ulong ulRxFrameRate}
   {ulong ulRxByteRate}
   {ulong ulRxFcsErrRate}
   {ulong ulRxTriggerRate}
   {ulong ulRxAbortRate}
   {ulong ulRxInvLenErrRate}
   {ulong ulRxNonOctetAlignedErrRate}
   {ulong ulRxOverflowErrRate}
   {ulong ulRxFrames}
   {ulong ulRxBytes}
   {ulong ulRxFcs_err}
   {ulong ulRxTrigger}
   {ulong ulRxAbort}
   {ulong ulRxInvLenErr}
   {ulong ulRxNonOctetAlignedErr}
   {ulong ulRxOverflowErr}
   {ulong ulRxIdleSeq}
   {ulong ulRxDeFrames}
   {ulong ulRxBECNCount}
   {ulong ulRxFECNCount}
   {ulong ulRxInvalidPVC}
   {ulong ulRxTrigLatency}
   {ulong ulRxTags}
   {ulong ulRxStack}
   {ulong ulRxInvARPReq}
   {ulong ulRxARPReq}
   {ulong ulRxARPReply}
   {ulong ulRxPingReq}
   {ulong ulRxPingReply}
   {ulong ulTxFrameRate}
   {ulong ulTxByteRate}
   {ulong ulTxFcsErrRate}
   {ulong ulTxAbortRate}
   {ulong ulTxTriggerRate}
   {ulong ulTxFrames}
   {ulong ulTxBytes}
   {ulong ulTxFcsErr}
   {ulong ulTxAbort}
   {ulong ulTxTrigger}
   {ulong ulTxDeFrames}
   {ulong ulTxBECNFrames}
   {ulong ulTxFECNFrames}
   {ulong ulTxTrigLatency}
   {ulong ulTxStack}
   {ulong ulTxInvARPReq}
   {ulong ulTxARPReq}
   {ulong ulTxARPReply}
   {ulong ulTxPingReq}
   {ulong ulTxPingReply}
   {ULong*20 ulReserved}
}

struct_typedef FRLmiInfo {struct
   {ulong ulConfiguredPvc}
   {ulong ulActivePvc}
   {ulong ulInactivePvc}
   {ulong ulDisabledPvc}
   {ulong ulTxStatusReq}
   {ulong ulTxStatusMsg}
   {ulong ulTxFullStatusReq}
   {ulong ulTxFullStatusMsg}
   {ulong ulTxStatusUpdate}
   {ulong ulRxStatusReq}
   {ulong ulRxStatusMsg}
   {ulong ulRxFullStatusReq}
   {ulong ulRxFullStatusMsg}
   {ulong ulRxStatusUpdate}
   {ulong ulPvcCongestion}
   {ulong ulNewPvc}
   {ulong ulPvcDeleted}
   {ulong ulPvcDeactivated}
   {ulong ulMulticastIe}
   {ulong ulInvalidFrame}
   {ULong*3 ulReserved}
}

struct_typedef FRPvcMainInfo {struct
   {ushort uiPadding}
   {ushort uiDLCI}
   {ulong ulTxFrameRate}
   {ulong ulTxByteRate}
   {ulong ulTxFrames}
   {ulong ulTxBytes}
   {ulong ulTxDeFrames}
   {ulong ulTotFECNsSent}
   {ulong ulTotBECNsSent}
   {ulong ulTxFcsErr}
   {ulong ulTxAbort}
   {ulong ulRxFrameRate}
   {ulong ulRxByteRate}
   {ulong ulRxFrames}
   {ulong ulRxBytes}
   {ulong ulRxDeFrames}
   {ulong ulFECN}
   {ulong ulBECN}
   {ULong*4 ulReserved}
}

struct_typedef FRStreamControl {struct
   {ulong ulStreamId}
   {ubyte ucEnable}
   {ubyte ucFcsErr}
   {ubyte ucAbortFlag}
   {ubyte ucReserved}
   {ULong*4 ulReserved}
}

struct_typedef FRPvcControl {struct
   {ushort uiDLCI}
   {ubyte ucEnable}
   {ubyte*3 ucReserved}
   {ULong*4 ulReserved}
}

struct_typedef FRGetCaptureCountInfo {struct
   {ulong ulCaptureCnt}
}

struct_typedef FRGetCaptureFrameCmdInfo {struct
   {ulong ulFrameNum}
}

struct_typedef FRReleaseCaptureFrameInfo {struct
   {ulong ulCaptureType}
}

struct_typedef FRMemoryDumpInfo {struct
   {ulong ulAddr}
   {ulong ulLen}
}

struct_typedef FRAssignAddress {struct
   {ubyte*6 ucMACAddress}
   {ubyte*4 ucIPAddress}
   {ubyte*4 ucNetmask}
   {ubyte*4 ucDefaultGateway}
   {ubyte*4 ucPingTargetAddress}
   {ubyte ucHistogramType}
   {ubyte ucSnmpArp}
   {ubyte ucProtocolFrames}
   {ubyte ucPingFrames}
   {ubyte ucRipPeriod}
   {ubyte ucSnmpPeriod}
   {ubyte ucPingPeriod}
}

struct_typedef FRHistogram {struct
   {ulong ulHistType}
   {ulong ulTimeBucket}
   {ULong*16 ulLatRef}
}

struct_typedef FRHistReset {struct
   {ulong ulHistType}
}

struct_typedef FRHistScale {struct
   {ulong ulScale}
}

struct_typedef FRHistDataInfo {struct
   {ulong ulHistType}
   {ulong ulStart}
   {ulong ulRange}
}

struct_typedef FRIntervalTimeInfo {struct
   {ulong ulTxStart}
   {ulong ulTxStop}
   {ulong ulRxStart}
   {ulong ulRxStop}
}

struct_typedef WNCardCfg {struct
   {ulong ulSlotNo}
   {ulong ulBoxTag}
   {ubyte*88 ucReserved}
}

struct_typedef WNDS3LineCfg {struct
   {ulong ulCount}
   {ubyte ucLineFraming}
   {ubyte ucClocking}
   {ubyte ucLoopbackEnable}
   {ubyte ucLineEncoding}
   {ubyte ucChannelized}
   {ubyte ucActive}
   {ubyte ucLineBuildout}
   {ubyte*9 ucReserved}
}

struct_typedef WNDS3LineCtrl {struct
   {ulong ulCount}
   {ubyte ucEnable}
   {ubyte*7 ucReserved}
}

struct_typedef WNT1E1LineCfg {struct
   {ulong ulLineNo}
   {ulong ulCount}
   {ubyte ucClocking}
   {ubyte ucLoopbackEnable}
   {ubyte ucLineBuildout}
   {ubyte ucLineEncoding}
   {ubyte ucLineFraming}
   {ubyte ucActive}
   {ubyte*6 ucReserved}
}

struct_typedef WNT1E1LineCtrl {struct
   {ulong ulLineNo}
   {ulong ulCount}
   {ubyte ucEnable}
   {ubyte*7 ucReserved}
}

struct_typedef WNT1E1LineDel {struct
   {ulong ulLineNo}
   {ulong ulCount}
}

struct_typedef WNChannelPhysCfg {struct
   {ulong ulLineNo}
   {ulong ulChannelNo}
   {ulong ulCount}
   {ubyte*32 ucTimeSlots}
   {ubyte ucMinFlags}
   {ubyte ucCRCOff}
   {ubyte ucUseCRC32}
   {ubyte ucDataUnchanged}
   {ubyte*8 ucReserved}
}

struct_typedef WNChannelAttribCfg {struct
   {ulong ulLineNo}
   {ulong ulChannelNo}
   {ulong ulCount}
   {ubyte ucEnable}
   {ubyte ucConnType}
   {ubyte ucTXMode}
   {ubyte ucFCSErr}
   {ubyte ucAbortFlag}
   {ulong ulBurstCount}
   {ubyte*27 ucReserved}
}

struct_typedef WNChannelCtrl {struct
   {ulong ulLineNo}
   {ulong ulChannelNo}
   {ulong ulCount}
   {ubyte ucEnable}
   {ubyte*7 ucReserved}
}

struct_typedef WNChannelDel {struct
   {ulong ulLineNo}
   {ulong ulChannelNo}
   {ulong ulCount}
}

struct_typedef WNPVCCfg {struct
   {ulong ulDLCI}
   {ulong ulDLCICount}
   {ulong ulLineNo}
   {ulong ulChannelNo}
   {ubyte ucPVCEnable}
   {ubyte ucEncapType}
   {ulong ulCIR}
   {ulong ulBC}
   {ulong ulBE}
   {ubyte*4 ucLocalIPAddr}
   {ubyte*4 ucPeerIPAddr}
   {ubyte*4 ucNetMask}
   {ubyte*2 ucReserved}
}

struct_typedef WNPVCCtrl {struct
   {ulong ulDLCI}
   {ulong ulDLCICount}
   {ulong ulLineNo}
   {ulong ulChannelNo}
   {ubyte ucEnable}
   {ubyte*3 ucReserved}
}

struct_typedef WNPVCDel {struct
   {ulong ulDLCI}
   {ulong ulDLCICount}
   {ulong ulLineNo}
   {ulong ulChannelNo}
}

struct_typedef WNStreamCtrl {struct
   {ulong ulCount}
   {ubyte ucEnable}
   {ubyte*7 ucReserved}
}

struct_typedef WNStreamDel {struct
   {ulong ulCount}
   {ulong ulLineNo}
   {ulong ulChannelNo}
   {ubyte*4 ucReserved}
}

struct_typedef WNStreamExtCfg {struct
   {ulong ulCount}
   {ulong ulDLCI}
   {ulong ulLineNo}
   {ulong ulChannelNo}
   {ubyte ucEncapType}
   {ubyte ucCR}
   {ubyte ucFECN}
   {ubyte ucBECN}
   {ubyte ucDE}
   {ulong ulFrameRate}
   {ubyte ucIPManipulateMode}
   {ubyte ucStepCount}
   {ushort uiIPLimitCount}
   {ubyte*23 ucReserved}
}

struct_typedef WNLMICfg {struct
   {ulong ulLineNo}
   {ulong ulChannelNo}
   {ulong ulCount}
   {ubyte ucLinkMgmt}
   {ubyte ucUNIMode}
   {ubyte ucNN1}
   {ubyte ucNN2}
   {ubyte ucNN3}
   {ubyte ucNN4}
   {ubyte ucNT1}
   {ubyte ucNT2}
   {ubyte ucNT3}
   {ubyte*3 ucReserved}
}

struct_typedef WNLMIDel {struct
   {ulong ulLineNo}
   {ulong ulChannelNo}
   {ulong ulCount}
}

struct_typedef IPSubnetReg {struct
   {ulong ulIPSubnetId}
   {ulong ulCount}
   {ubyte*4 ucIPAddr}
   {ubyte*4 ucNetmask}
   {ubyte*4 ucGateway}
}

struct_typedef IPSubnetDeReg {struct
   {ulong ulIPSubnetId}
   {ulong ulCount}
}

struct_typedef WNTriggerCfg {struct
   {ulong ulLineNo}
   {ulong ulChannelNo}
   {ulong ulCount}
   {ubyte ucEnable}
   {ubyte ucDirection}
   {ubyte ucCompCombo}
   {ushort uiTrig1Offset}
   {ushort uiTrig1Range}
   {ubyte*6 ucTrig1Pattern}
   {ubyte*6 ucTrig1Mask}
   {ushort uiTrig2Offset}
   {ushort uiTrig2Range}
   {ubyte*6 ucTrig2Pattern}
   {ubyte*6 ucTrig2Mask}
   {ubyte ucReserved}
}

struct_typedef WNTriggerCtrl {struct
   {ulong ulLineNo}
   {ulong ulChannelNo}
   {ulong ulCount}
   {ubyte ucEnable}
   {ubyte*3 ucReserved}
}

struct_typedef WNTriggerDel {struct
   {ulong ulLineNo}
   {ulong ulChannelNo}
   {ulong ulCount}
}

struct_typedef WNFeatureCtrl {struct
   {ulong ulLineNo}
   {ubyte ucEnableFeature}
   {ubyte*11 ucReserved}
}

struct_typedef WNFeatureCtrlAll {struct
   {ubyte ucEnableFeature}
   {ubyte*3 ucReserved}
}

struct_typedef WNChannelTxCfg {struct
   {ulong ulLineNo}
   {ulong ulChannelNo}
   {ulong ulCount}
   {ubyte ucTXMode}
   {ulong ulBurstCount}
   {ubyte*20 ucReserved}
}

struct_typedef WNVersionInfo {struct
   {ushort uiMainFwVersion}
   {ushort uiBootFwVersion}
   {ushort uiFpgaVersion}
}

struct_typedef WNCardCapInfo {struct
   {ushort uiMaxPorts}
   {ushort uiMaxStreams}
   {ushort uiMaxConnect}
   {ushort uiMaxChannels}
   {ushort uiMaxPvcs}
   {ulong ulMaxHostTxBuf}
   {ulong ulMaxHostRxBuf}
   {ushort uiSupportFeatures}
   {ubyte*4 ucReserved}
}

struct_typedef WNPortInfo {struct
   {ulong ulCount}
   {ulong ulTimestamp}
   {ulong ulRxFrameRate}
   {ulong ulRxByteRate}
   {ulong ulRxTriggerRate}
   {ulong ulRxFrames}
   {ulong ulRxBytes}
   {ulong ulRxFCSErr}
   {ulong ulRxTrigger}
   {ulong ulRxAbort}
   {ulong ulRxOversize}
   {ulong ulRxNonOctetAlignedErr}
   {ulong ulRxOverflowErr}
   {ulong ulRxUndersize}
   {ulong ulRxDEFrames}
   {ulong ulRxBECNCount}
   {ulong ulRxFECNCount}
   {ulong ulRxInvalidPVC}
   {ulong ulRxTrigLatency}
   {ulong ulRxTags}
   {ulong ulRxStack}
   {ulong ulRxInvARPReq}
   {ulong ulRxARPReq}
   {ulong ulRxARPReply}
   {ulong ulRxPingReq}
   {ulong ulRxPingReply}
   {ulong ulTxFrameRate}
   {ulong ulTxByteRate}
   {ulong ulTxTriggerRate}
   {ulong ulTxFrames}
   {ulong ulTxBytes}
   {ulong ulTxFCSErr}
   {ulong ulTxAbort}
   {ulong ulTxTrigger}
   {ulong ulTxDEFrames}
   {ulong ulTxBECNFrames}
   {ulong ulTxFECNFrames}
   {ulong ulTxTrigLatency}
   {ulong ulTxStack}
   {ulong ulTxInvARPReq}
   {ulong ulTxARPReq}
   {ulong ulTxARPReply}
   {ulong ulTxPingReq}
   {ulong ulTxPingReply}
   {ubyte*12 ucReserved}
}

struct_typedef WNDS3AlarmCounterInfo {struct
   {ulong ulCount}
   {ushort uiAlarmCurrent}
   {ushort uiAlarmHistory}
   {ulong ulCodeViolationCount}
   {ulong ulFrameErrCount}
   {ulong ulSyncErrCount}
   {ulong ulCBitParityErrCount}
   {ulong ulPBitParityErrCount}
   {ulong ulFEBEErrCount}
   {ulong ulCodeViolationRate}
   {ulong ulFrameErrRate}
   {ulong ulSyncErrRate}
   {ubyte*20 ucReserved}
}

struct_typedef WNDS3LineInfo {struct
   {ulong ulCount}
   {ushort uiAlarmCurrent}
   {ushort uiAlarmHistory}
   {ulong ulCodeViolationCount}
   {ulong ulFrameErrCount}
   {ulong ulSyncErrCount}
   {ulong ulCBitParityErrCount}
   {ulong ulPBitParityErrCount}
   {ulong ulFEBEErrCount}
   {ulong ulCodeViolationRate}
   {ulong ulFrameErrRate}
   {ulong ulSyncErrRate}
   {ubyte*20 ucReserved}
}

struct_typedef WNDS3LineStatus {struct
   {ulong ulCount}
   {ubyte ucStatus}
   {ubyte*3 ucReserved}
}

struct_typedef WNChannelStatus {struct
   {ulong ulLineNo}
   {ulong ulChannelNo}
   {ubyte ucStatus}
   {ubyte ucPPPLCPStatus}
   {ubyte ucPPPNCPStatus}
   {ubyte ucUNIStatus}
}

struct_typedef WNChannelInfo {struct
   {ulong ulLineNo}
   {ulong ulChannelNo}
   {ulong ulCount}
   {ulong ulTimestamp}
   {ulong ulRxFrameRate}
   {ulong ulRxByteRate}
   {ulong ulRxTriggerRate}
   {ulong ulRxFrames}
   {ulong ulRxBytes}
   {ulong ulRxFCSErr}
   {ulong ulRxTrigger}
   {ulong ulRxAbort}
   {ulong ulRxOversize}
   {ulong ulRxNonOctetAlignedErr}
   {ulong ulRxOverflowErr}
   {ulong ulRxUndersize}
   {ulong ulRxDEFrames}
   {ulong ulRxBECNCount}
   {ulong ulRxFECNCount}
   {ulong ulRxInvalidPVC}
   {ulong ulRxTrigLatency}
   {ulong ulRxTags}
   {ulong ulRxStack}
   {ulong ulRxInvARPReq}
   {ulong ulRxARPReq}
   {ulong ulRxARPReply}
   {ulong ulRxPingReq}
   {ulong ulRxPingReply}
   {ulong ulTxFrameRate}
   {ulong ulTxByteRate}
   {ulong ulTxTriggerRate}
   {ulong ulTxFrames}
   {ulong ulTxBytes}
   {ulong ulTxFCSErr}
   {ulong ulTxAbort}
   {ulong ulTxTrigger}
   {ulong ulTxDEFrames}
   {ulong ulTxBECNFrames}
   {ulong ulTxFECNFrames}
   {ulong ulTxTrigLatency}
   {ulong ulTxStack}
   {ulong ulTxInvARPReq}
   {ulong ulTxARPReq}
   {ulong ulTxARPReply}
   {ulong ulTxPingReq}
   {ulong ulTxPingReply}
   {ubyte*8 ucReserved}
}

struct_typedef WNT1E1AlarmCounterInfo {struct
   {ulong ulLineNo}
   {ulong ulCount}
   {ushort uiAlarmCurrent}
   {ushort uiAlarmHistory}
   {ulong ulCodeViolationCount}
   {ulong ulFrameErrCount}
   {ulong ulSyncErrCount}
   {ulong ulFEBEErrCount}
   {ulong ulCodeViolationRate}
   {ulong ulFrameErrRate}
   {ulong ulSyncErrRate}
   {ulong ulFEBEErrRate}
   {ubyte*8 ucReserved}
}

struct_typedef WNT1E1LineStatus {struct
   {ulong ulLineNo}
   {ulong ulCount}
   {ubyte ucStatus}
   {ubyte*7 ucReserved}
}

struct_typedef WNPVCStatus {struct
   {ubyte ucStatusType}
   {ulong ulLineNo}
   {ulong ulChannelNo}
   {ubyte*128 ucActiveStatus}
   {ubyte*128 ucConfigStatus}
   {ubyte*128 ucEnableStatus}
}

struct_typedef WNPVCInfo {struct
   {ulong ulDLCI}
   {ulong ulCount}
   {ulong ulLineNo}
   {ulong ulChannelNo}
   {ulong ulTxFrameRate}
   {ulong ulTxByteRate}
   {ulong ulTxFrames}
   {ulong ulTxBytes}
   {ulong ulTxDEFrames}
   {ulong ulTotFECNSent}
   {ulong ulTotBECNSent}
   {ulong ulRxFrameRate}
   {ulong ulRxByteRate}
   {ulong ulRxFrames}
   {ulong ulRxBytes}
   {ulong ulRxDEFrames}
   {ulong ulFECNCount}
   {ulong ulBECNCount}
   {ubyte*4 ucReserved}
}

struct_typedef WNLMIInfo {struct
   {ulong ulLineNo}
   {ulong ulChannelNo}
   {ulong ulCount}
   {ulong ulConfiguredPVC}
   {ulong ulActivePVC}
   {ulong ulInactivePVC}
   {ulong ulDisabledPVC}
   {ulong ulTxStatusReq}
   {ulong ulTxStatusMsg}
   {ulong ulTxFullStatusReq}
   {ulong ulTxFullStatusMsg}
   {ulong ulTxStatusUpdate}
   {ulong ulRxStatusReq}
   {ulong ulRxStatusMsg}
   {ulong ulRxFullStatusReq}
   {ulong ulRxFullStatusMsg}
   {ulong ulRxStatusUpdate}
   {ulong ulPVCCongestion}
   {ulong ulNewPVC}
   {ulong ulPVCDeleted}
   {ulong ulPVCDeactivated}
   {ulong ulMulticastIe}
   {ulong ulInvalidFrame}
   {ULong*4 ucReserved}
}


}

if {[info exists fstitems_structs] == 0} then {
set fstitems_structs 1

struct_typedef FSTAlternateTx {struct
   {ubyte ucEnabled}
   {ubyte ucCRCErrors}
   {ubyte ucErrorSymbol}
   {ubyte ucDribble}
   {ulong ulAlternateCount}
   {ushort uiDataLength}
   {ubyte*2048 ucData}
}

struct_typedef FSTControlAux {struct
   {ubyte ucFlowControlPause}
   {ubyte ucPreambleLen}
}

struct_typedef FSTCaptureParams {struct
   {ubyte ucCRCErrors}
   {ubyte ucOnTrigger}
   {ubyte ucFilterMode}
   {ubyte ucStartStopOnConditionXMode}
   {ubyte uc64BytesOnly}
   {ubyte ucLast64Bytes}
   {ubyte ucCollisions}
   {ubyte ucStartStop}
}

struct_typedef FSTVLAN {struct
   {ubyte ucVLANEnable}
   {ushort uiTPID}
   {ubyte ucPRI}
   {ubyte ucCFI}
   {ushort uiVID}
}

struct_typedef FSTCaptureCountInfo {struct
   {ulong ulCaptureCount}
}

struct_typedef FSTCaptureFrameInfo {struct
   {ulong ulIndex}
   {ubyte ucStatus}
   {ubyte ucPreambleCount}
   {ushort uiLength}
   {ulong ulTimestamp}
}

struct_typedef FSTCaptureInfo {struct
   {FSTCaptureFrameInfo*96 FrameInfo}
}

struct_typedef FSTCaptureDataInfo {struct
   {ulong ulFrameNum}
   {ubyte*2048 ucData}
}

struct_typedef FSTProtocolParameters {struct
   {ubyte*6 ucDstMAC}
   {ubyte*6 ucSrcMAC}
   {ubyte*4 ucDstIP}
   {ubyte*4 ucSrcIP}
   {ubyte*4 ucNetMask}
   {ubyte*4 ucResponseMask}
   {ubyte*4 ucDefaultGateway}
   {ulong ulProtocolResponse}
   {ulong ulProtocolGenerate}
   {ulong ulARPPeriod}
   {ulong ulPINGPeriod}
   {ubyte ucIPChecksumEnable}
   {ubyte ucIPChecksumErrorEnable}
}

struct_typedef FSTProtocolCounterInfo {struct
   {U64 u64RxVLANFrames}
   {U64 u64RxIPFrames}
   {U64 u64IPChecksumErrors}
   {ulong ulRxARPReply}
   {ulong ulTxARPReply}
   {ulong ulTxARPRequest}
   {ulong ulRxARPRequest}
   {ulong ulRxPingReply}
   {ulong ulTxPingReply}
   {ulong ulTxPingRequest}
   {ulong ulRxPingRequest}
}


}

if {[info exists ethitems_structs] == 0} then {
set ethitems_structs 1

struct_typedef ETHTransmit {struct
   {ubyte ucTransmitMode}
   {ushort uiDataLength}
   {ubyte ucDuplexMode}
   {ubyte ucSpeed}
   {ushort uiCollisionBackoffAggressiveness}
   {ulong ulBurstCount}
   {ulong ulMultiBurstCount}
   {ulong ulInterFrameGap}
   {ushort uiInterFrameGapScale}
   {ulong ulInterBurstGap}
   {ushort uiInterBurstGapScale}
   {ubyte ucRandomBackground}
   {ubyte ucRandomLength}
   {ubyte ucCRCErrors}
   {ubyte ucAlignErrors}
   {ubyte ucSymbolErrors}
   {ushort uiDribbleBits}
   {ubyte ucVFD1Mode}
   {ushort uiVFD1Offset}
   {short iVFD1Range}
   {ubyte*6 ucVFD1Pattern}
   {ushort uiVFD1CycleCount}
   {ushort uiVFD1BlockCount}
   {ubyte ucVFD2Mode}
   {ushort uiVFD2Offset}
   {short iVFD2Range}
   {ubyte*6 ucVFD2Pattern}
   {ushort uiVFD2CycleCount}
   {ushort uiVFD2BlockCount}
   {ubyte ucVFD3Mode}
   {ushort uiVFD3Offset}
   {ushort uiVFD3Range}
   {ushort uiVFD3DataCount}
   {ushort uiVFD3BlockCount}
   {ubyte*2044 ucVFD3Buffer}
   {ubyte ucAntiPartitioningEnable}
   {ubyte*63 ucReserved}
}

struct_typedef ETHTrigger {struct
   {ubyte ucTriggerMode}
   {ushort uiTrigger1Offset}
   {ushort uiTrigger1Range}
   {ubyte*6 ucTrigger1Pattern}
   {ushort uiTrigger2Offset}
   {ushort uiTrigger2Range}
   {ubyte*6 ucTrigger2Pattern}
}

struct_typedef ETHLatency {struct
   {ushort uiMode}
   {ushort uiRange}
   {ushort uiOffset}
   {ubyte*12 ucPattern}
}

struct_typedef ETHCollision {struct
   {uint uiOffset}
   {uint uiDuration}
   {uint uiCount}
   {uint uiMode}
}

struct_typedef ETHMII {struct
   {ushort uiAddress}
   {ushort uiRegister}
   {ushort uiValue}
}

struct_typedef ETHProtocolParameters {struct
   {ubyte*6 ucDstMAC}
   {ubyte*6 ucSrcMAC}
   {ubyte*4 ucDstIP}
   {ubyte*4 ucSrcIP}
   {ubyte*4 ucNetMask}
   {ubyte*4 ucResponseMask}
   {ubyte*4 ucDefaultGateway}
   {ulong ulProtocolResponse}
   {ulong ulProtocolGenerate}
   {ulong ulARPPeriod}
   {ulong ulPINGPeriod}
   {ubyte ucIPChecksumEnable}
   {ubyte ucIPChecksumErrorEnable}
}

struct_typedef ETHVLAN {struct
   {ushort uiTPID}
   {ubyte ucPRI}
   {ubyte ucCFI}
   {ushort uiVID}
}

struct_typedef ETHLink {struct
   {short iSpeed}
   {short iDuplex}
   {short iFlowControl}
   {short iMode}
   {short iTimeout}
   {short iRetryDecision}
   {Short*1018 iReserved}
}

struct_typedef ETHRSMII {struct
   {ubyte ucRSMIISelect}
   {ubyte ucMDIOAccessSelect}
   {ubyte*4 ucReserved}
}

struct_typedef ETHCardInfo {struct
   {ushort uiCardModel}
   {byte*32 szCardModel}
   {byte cPortID}
   {ushort uiPortType}
   {ulong ulPortProperties}
   {ULong*32 ulHWVersions}
}

struct_typedef ETHCounterInfo {struct
   {ulong ulRxFrames}
   {ulong ulTxFrames}
   {ulong ulCollisions}
   {ulong ulRxTriggers}
   {ulong ulRxBytes}
   {ulong ulCRCErrors}
   {ulong ulAlignErrors}
   {ulong ulOversize}
   {ulong ulUndersize}
   {ulong ulTxFrameRate}
   {ulong ulRxFrameRate}
   {ulong ulCRCErrorRate}
   {ulong ulOversizeRate}
   {ulong ulUndersizeRate}
   {ulong ulCollisionErrorRate}
   {ulong ulAlignErrorRate}
   {ulong ulRxTriggerRate}
   {ulong ulRxByteRate}
}

struct_typedef ETHEnhancedCounterInfo {struct
   {uint uiMode}
   {uint uiPortType}
   {ulong ulMask1}
   {ulong ulMask2}
   {ULong*64 ulData}
}

struct_typedef ETHEnhancedStatusInfo {struct
   {ulong ulStatus}
}

struct_typedef ETHLatencyInfo {struct
   {ulong ulLatency}
}

struct_typedef ETHMIIInfo {struct
   {ushort uiAddress}
   {ushort uiRegister}
   {ushort uiValue}
}

struct_typedef ETHExtendedCardInfo {struct
   {ulong ulLinkStateChanges}
   {ulong ulTxMgmtFrames}
   {ulong ulRxMgmtFrames}
   {ulong ulRxARPRequests}
   {ulong ulTxARPRequests}
   {ulong ulTxARPReplies}
   {ulong ulRxARPReplies}
   {ulong ulTxPingReplies}
   {ulong ulTxPingRequests}
   {ulong ulRxPingRequests}
   {ulong ulRxPingReplies}
   {ulong ulRxVLANFrames}
   {ulong ulRxIPFrames}
   {ulong ulIPChecksumErrors}
   {ulong ulMgmtFrameCRCErrors}
   {ulong ulMgmtFrameIPChecksumErrors}
   {ulong ulMgmtFrameUnknown}
   {ulong ulTimecount}
   {ulong ulReceiveErrors}
   {ulong ulFalseCarrierSense}
   {ulong ulRxNOKs}
   {ulong ulExtendedPHYStatus}
   {ULong*2 ulReserved}
}

struct_typedef ETHQoSCounterInfo {struct
   {U64*8 u64RxTriggers}
   {ULong*4 ulReserved}
}

struct_typedef ETHExtendedCounterInfo {struct
   {U64 u64RxVLANFrames}
   {U64 u64RxIPFrames}
   {U64 u64RxIPChecksumErrors}
   {ulong ulTxARPReplies}
   {ulong ulRxARPReplies}
   {ulong ulTxARPRequests}
   {ulong ulRxARPRequests}
   {ulong ulTxPingReplies}
   {ulong ulRxPingReplies}
   {ulong ulTxPingRequests}
   {ulong ulRxPingRequests}
   {U64 u64RxDataIntegrityErrors}
   {U64 u64TxSignatureFrames}
   {U64 u64RxSignatureFrames}
   {U64 u64RxJumboFrames}
   {U64 u64RxIPv6Frames}
   {U64 u64RxMPLSFrames}
   {U64 u64RxPauseFrames}
   {ULong*4 ulReserved}
}


}

if {[info exists frmitems_structs] == 0} then {
set frmitems_structs 1

struct_typedef FrameSpec_Type {struct
   {int iEncap}
   {int iSize}
   {int iProtocol}
   {int iPattern}
}


}

if {[info exists l2items_structs] == 0} then {
set l2items_structs 1

struct_typedef L2StatsInfo {struct
   {U64 u64TxFrame}
   {U64 u64TxByte}
   {U64 u64TxTrigger}
   {ulong ulTxLatency}
   {U64 u64RxFrame}
   {U64 u64RxByte}
   {U64 u64RxTrigger}
   {ulong ulRxLatency}
   {U64 u64RxCRCError}
   {U64 u64RxOversize}
   {U64 u64RxUndersize}
}

struct_typedef L2RateInfo {struct
   {ulong ulTxFrameRate}
   {ulong ulTxByteRate}
   {ulong ulTxTriggerRate}
   {ulong ulRxFrameRate}
   {ulong ulRxByteRate}
   {ulong ulRxTriggerRate}
   {ulong ulRxCRCErrorRate}
   {ulong ulRxOversizeRate}
   {ulong ulRxUndersizeRate}
}


}

if {[info exists positems_structs] == 0} then {
set positems_structs 1

struct_typedef POSCardLineConfig {struct
   {ubyte ucCRC32Enabled}
   {ubyte ucScramble}
   {ushort uiSONETAlarmError}
}

struct_typedef POSCardPortEncapsulation {struct
   {ubyte ucEncapStyle}
   {byte*3 Pad}
}

struct_typedef POSCardSetSpeed {struct
   {ushort uiSpeed}
}

struct_typedef POSCardGetSpeedInfo {struct
   {ushort uiSpeed}
   {ushort uiSpeedCap}
   {ushort uiTransMode}
}

struct_typedef POSSonetPayloadConfig {struct
   {ubyte ucType}
   {ubyte*7 ucReserved}
}

struct_typedef POSTrigger {struct
   {ubyte ucTrigger1Mode}
   {ubyte ucTrigger1Range}
   {ushort uiTrigger1Offset}
   {ubyte*8 ucTrigger1Data}
   {ubyte*8 ucTrigger1Mask}
   {ubyte ucTrigger2Mode}
   {ubyte ucTrigger2Range}
   {ushort uiTrigger2Offset}
   {ubyte*8 ucTrigger2Data}
   {ubyte*8 ucTrigger2Mask}
   {ubyte ucTriggerMode}
   {ubyte ucReserved}
}

struct_typedef POSConfig {struct
   {ubyte ucTxClockSource}
   {ubyte ucFramingMode}
   {ubyte ucLoopBackMode}
   {ubyte*20 ucReserved}
}


}

if {[info exists pppitems_structs] == 0} then {
set pppitems_structs 1

struct_typedef PPPParamCfg {struct
   {ulong ulLineNo}
   {ulong ulChannelNo}
   {ulong ulpppCount}
   {ulong ulpppInstance}
   {ushort uipppWeWish}
   {ushort uipppWeMust}
   {ushort uipppWeCan}
   {ubyte ucpppEnablePPP}
   {ubyte ucpppCHAPAlgo}
   {ushort uipppMRU}
   {ushort uipppMaxFailure}
   {ushort uipppMaxConfigure}
   {ushort uipppMaxTerminate}
   {ulong ulpppMagicNumber}
   {ubyte*32 ucpppOurID}
   {ubyte*32 ucpppOurPW}
   {ubyte*32 ucpppPeerID}
   {ubyte*32 ucpppPeerPW}
   {ubyte ucpppIPEnable}
   {ubyte ucpppNegotiateIPAddr}
   {ushort uipppIPCompress}
   {ubyte*4 ucpppOurIPAddr}
   {ubyte*4 ucpppPeerIPAddr}
   {ulong ulpppIPXNet}
   {ubyte ucpppIPXEnable}
   {ubyte*6 ucpppIPXNode}
   {ubyte ucReserved}
   {ushort uipppIPXCompress}
   {ushort uipppIPXRoutingProt}
   {ushort uipppRestartTimer}
   {ushort uipppRetryCount}
   {ubyte ucModFrame}
   {ubyte ucReserved1}
   {ubyte ucMode}
   {ubyte ucTimer}
   {ushort uiRetry}
   {ushort uiOptions}
   {ubyte*6 ucSourceMAC}
   {ubyte*6 ucDestMAC}
   {ushort uiServiceNameLen}
   {ubyte*16 ucServiceName}
   {ushort uiAcNameLen}
   {ubyte*16 ucAcName}
}

struct_typedef PPPControlCfg {struct
   {ulong ulLineNo}
   {ulong ulChannelNo}
   {ulong ulpppCount}
   {ulong ulpppInstance}
   {ubyte ucpppAction}
   {ubyte ucpppLCPPassiveMode}
   {ubyte ucpppIPCPPassiveMode}
   {ubyte ucReserved}
   {ulong ulpppEchoFreq}
   {ulong ulpppEchoErrFreq}
   {ulong ulpppInterConnDelay}
   {ulong ulReserved}
}

struct_typedef PPPDelCfg {struct
   {ulong ulpppInstance}
   {ulong ulpppCount}
}

struct_typedef PPPDelete {struct
   {ulong ulLineNo}
   {ulong ulChannelNo}
   {ulong ulpppCount}
}

struct_typedef PPPStatusInfo {struct
   {ulong ulpppInstance}
   {ulong ulLineNo}
   {ulong ulChannelNo}
   {ulong ulpppCount}
   {ubyte ucppplcpState}
   {ubyte ucpppipcpState}
   {ubyte ucpppipxcpState}
   {ubyte ucppplcpFailCode}
   {ulong ulpppMagicNumber}
   {ubyte*4 ucpppOurIPAddr}
   {ubyte*4 ucpppPeerIPAddr}
   {ulong ulpppWeGot}
   {ulong ulpppWeAcked}
   {ushort uipppMRU}
   {ushort uipppMTU}
   {U64 ullpppLatency}
   {U64 ullpppTotalLatency}
   {ubyte ucState}
   {ubyte ucMode}
   {ushort uiSessionID}
   {ubyte*6 ucSourceMAC}
   {ubyte*6 ucDestMAC}
   {ULong*6 ulReserved}
}

struct_typedef PPPStatsInfo {struct
   {ulong ulpppInstance}
   {ulong ulLineNo}
   {ulong ulChannelNo}
   {ulong ulpppCount}
   {ulong ultimestamp}
   {ulong ullcpConfReqSent}
   {ulong ullcpConfAckSent}
   {ulong ullcpConfNakSent}
   {ulong ullcpConfRejectSent}
   {ulong ullcpTermReqSent}
   {ulong ullcpTermAckSent}
   {ulong ullcpProtoRejectSent}
   {ulong ullcpEchoReqSent}
   {ulong ullcpEchoReplySent}
   {ulong ullcpEchoReqErrSent}
   {ulong ullcpEchoReplyErrSent}
   {ulong ullcpDiscardReqSent}
   {ulong ullcpCodeRejectSent}
   {ulong ullcpResetReqSent}
   {ulong ullcpResetAckSent}
   {ulong ullcpPAPReqSent}
   {ulong ullcpPAPAckSent}
   {ulong ullcpPAPNakSent}
   {ulong ullcpCHAPChlMSSent}
   {ulong ullcpCHAPChlMD5Sent}
   {ulong ullcpCHAPRspMSSent}
   {ulong ullcpCHAPRspMD5Sent}
   {ulong ullcpCHAPSuccessSent}
   {ulong ullcpCHAPFailSent}
   {ulong ullcpConfReqRcvd}
   {ulong ullcpConfAckRcvd}
   {ulong ullcpConfNakRcvd}
   {ulong ullcpConfRejectRcvd}
   {ulong ullcpTermReqRcvd}
   {ulong ullcpTermAckRcvd}
   {ulong ullcpProtoRejectRcvd}
   {ulong ullcpEchoReqRcvd}
   {ulong ullcpEchoReplyRcvd}
   {ulong ullcpEchoReqErrRcvd}
   {ulong ullcpEchoReplyErrRcvd}
   {ulong ullcpDiscardReqRcvd}
   {ulong ullcpCodeRejectRcvd}
   {ulong ullcpResetReqRcvd}
   {ulong ullcpResetAckRcvd}
   {ulong ullcpPAPReqRcvd}
   {ulong ullcpPAPAckRcvd}
   {ulong ullcpPAPNakRcvd}
   {ulong ullcpCHAPChlMSRcvd}
   {ulong ullcpCHAPChlMD5Rcvd}
   {ulong ullcpCHAPRspMSRcvd}
   {ulong ullcpCHAPRspMD5Rcvd}
   {ulong ullcpCHAPSuccessRcvd}
   {ulong ullcpCHAPFailRcvd}
   {ULong*14 ulReserved}
}

struct_typedef PPPoEStatsInfo {struct
   {ulong ulStreamIndex}
   {ulong ulSent}
   {ulong ulReceived}
   {ulong ulDropped}
}

struct_typedef PPPParamsCopy {struct
   {ushort uipppSrcStrNum}
   {ushort uipppDstStrNum}
   {ushort uipppDstStrCount}
   {ushort uiReserved}
   {ulong ulReserved}
}

struct_typedef PPPParamsModify {struct
   {ushort uipppStartStrNum}
   {ushort uipppStrCount}
   {ushort uipppParamItemID}
   {ushort uipppParamCount}
   {ubyte*2048 ucpppData}
}

struct_typedef PPPParamsFill {struct
   {ushort uipppSrcStrNum}
   {ushort uipppDstStrNum}
   {ushort uipppDstStrCount}
   {ushort uipppParamItemID}
   {ubyte*32 ucpppDelta}
}

struct_typedef PPPStatusSearchInfo {struct
   {ushort uipppStartIndex}
   {ushort uipppCount}
   {ushort uipppReturnItemId}
   {ushort uipppSearchItemId}
   {U64 ullpppSearchRangeLow}
   {U64 ullpppSearchRangeHigh}
   {ushort uipppReturnItemSize}
   {ushort uipppReserved}
   {U64*2048 ullpppItem}
}


}

if {[info exists fcitems_structs] == 0} then {
set fcitems_structs 1

struct_typedef FCPortConfig {struct
   {ubyte ucTopology}
   {ubyte ucSpeed}
   {ubyte ucDisableTimer}
   {ulong ulRRDYGap}
   {ulong ulRRDYGapRandomEnable}
   {ulong ulRRDYGapSeed}
   {ulong ulRRDYGapMin}
   {ulong ulRRDYGapMax}
   {ubyte ucAutoNegotiate}
   {ushort uiBBCreditConfigRx}
   {ubyte*16 ucReserved}
}

struct_typedef FCPortConfigInfo {struct
   {ubyte ucTopology}
   {ubyte ucSpeed}
   {ubyte ucDisableTimer}
   {ulong ulRRDYGap}
   {ulong ulRRDYGapRandomEnable}
   {ulong ulRRDYGapSeed}
   {ulong ulRRDYGapMin}
   {ulong ulRRDYGapMax}
   {ubyte ucAutoNegotiate}
   {ushort uiBBCreditConfigRx}
   {ushort uiBBCreditConfigTx}
   {ushort uiBBCreditCurrentRx}
   {ushort uiBBCreditCurrentTx}
   {ulong ulRA_TOV}
   {ulong ulED_TOV}
   {ubyte ucGBICType}
   {ubyte*16 ucReserved}
}

struct_typedef FCStatus {struct
   {ulong ulState}
   {ulong ulError}
   {ulong ulErrorExtendedInfo}
   {ulong ulErrorDetailedInfo}
   {U64 u64ErrorWWN}
   {ulong ulLinkErrorSeen}
   {ubyte*16 ucReserved}
}

struct_typedef FCCounterInfo {struct
   {ulong ulRcvPkt}
   {ulong ulTmtPkt}
   {ulong ulCollision}
   {ulong ulRcvTrig}
   {ulong ulRcvByte}
   {ulong ulCRC}
   {ulong ulAlign}
   {ulong ulOversize}
   {ulong ulUndersize}
   {ulong ulRcvPktRate}
   {ulong ulTmtPktRate}
   {ulong ulCRCRate}
   {ulong ulOversizeRate}
   {ulong ulUndersizeRate}
   {ulong ulCollisionRate}
   {ulong ulAlignRate}
   {ulong ulRcvTrigRate}
   {ulong ulRcvByteRate}
   {U64 u64TxSigPkt}
   {U64 u64RxSigPkt}
   {U64 u64LinkTxWordErr}
   {ulong ulLinkInit}
   {ulong ulLinkFailure}
   {ulong ulLinkLossOfSync}
   {ulong ulLinkLossOfSig}
   {ulong ulLinkReset}
   {ulong ulLinkPrimSeqErr}
   {U64 u64TxBytes}
   {U64 u64TxClass2Frames}
   {U64 u64TxClass3Frames}
   {U64 u64TxClassFFrames}
   {U64 u64TxOtherFrames}
   {U64 u64TxClass2Bytes}
   {U64 u64TxClass3Bytes}
   {U64 u64TxClassFBytes}
   {U64 u64TxOtherBytes}
   {U64 u64RxClass2Frames}
   {U64 u64RxClass3Frames}
   {U64 u64RxClassFFrames}
   {U64 u64RxOtherFrames}
   {U64 u64RxClass2Bytes}
   {U64 u64RxClass3Bytes}
   {U64 u64RxClassFBytes}
   {U64 u64RxOtherBytes}
   {ulong ulTxByteRate}
   {ulong ulTxClass2FrameRate}
   {ulong ulTxClass3FrameRate}
   {ulong ulTxClassFFrameRate}
   {ulong ulTxOtherFrameRate}
   {ulong ulTxClass2ByteRate}
   {ulong ulTxClass3ByteRate}
   {ulong ulTxClassFByteRate}
   {ulong ulTxOtherByteRate}
   {ulong ulRxClass2FrameRate}
   {ulong ulRxClass3FrameRate}
   {ulong ulRxClassFFrameRate}
   {ulong ulRxOtherFrameRate}
   {ulong ulRxClass2ByteRate}
   {ulong ulRxClass3ByteRate}
   {ulong ulRxClassFByteRate}
   {ulong ulRxOtherByteRate}
   {ulong ulPLOGIsSent}
   {ulong ulPLOGIsRx}
   {ulong ulPLOGIAcceptsSent}
   {ulong ulPLOGIAccepts}
   {ulong ulPLOGIsReturned}
   {ulong ulFLOGIsSent}
   {ulong ulFLOGIAccepts}
   {ulong ulFLOGIRejects}
   {ulong ulFLOGITimeouts}
   {ulong ulFrameDiscarded}
   {ulong ulTxCutThroughFrames}
   {ulong ulRxCutThroughFrames}
   {ulong ulTxCutThroughBytes}
   {ulong ulRxCutThroughBytes}
   {ubyte*128 ucReserved}
}

struct_typedef FCConfig {struct
   {ubyte ucEnableSeqCnt}
   {ubyte ucCOS}
   {ubyte ucHalfDuplex}
   {ubyte ucVerifyAL_PD}
   {ubyte ucVerifyAL_PS}
   {ulong ulSOF}
   {ubyte ucR_CTL}
   {U64 u64SourceWWN}
   {U64 u64DestWWN}
   {ushort uiCS_CTL}
   {ubyte ucFCType}
   {ulong ulF_CTL}
   {ubyte ucSeqID}
   {ubyte ucDF_CTL}
   {ushort uiSeqCnt}
   {ushort uiOX_ID}
   {ushort uiRX_ID}
   {ulong ulParameter}
   {ulong ulEOF}
   {ubyte*19 ucReserved}
}

struct_typedef FCWWNCount {struct
   {ulong ulWWNCount}
}

struct_typedef FCWWN {struct
   {U64 u64WWN}
   {ubyte ucSupportedCOS}
   {ubyte ucResponseCOS}
   {ubyte ucPublic}
   {ubyte ucRemote}
   {ulong ulAddressID}
   {ubyte*4 ucReserved}
}

struct_typedef StreamFC {struct
   {ubyte ucActive}
   {ubyte ucProtocolType}
   {ubyte ucRandomLength}
   {ubyte ucRandomData}
   {ushort uiFrameLength}
   {ubyte ucTagField}
   {ubyte ucEnableSeqCnt}
   {ubyte ucCOS}
   {ubyte ucDuplexMode}
   {ubyte ucVerifyAL_PD}
   {ubyte ucVerifyAL_PS}
   {ulong ulSOF}
   {ubyte ucR_CTL}
   {U64 u64SourceWWN}
   {U64 u64DestWWN}
   {ushort uiCS_CTL}
   {ubyte ucFCType}
   {ulong ulF_CTL}
   {ubyte ucSeqID}
   {ubyte ucDF_CTL}
   {ushort uiSeqCnt}
   {ushort uiOX_ID}
   {ushort uiRX_ID}
   {ulong ulParameter}
   {ulong ulEOF}
   {ubyte*40 ProtocolHeader}
   {ubyte*64 ucReserved}
}


}

if {[info exists nsitems_structs] == 0} then {
set nsitems_structs 1

struct_typedef NSSonetConfig {struct
   {ubyte ucInterfaceSpeed}
   {ubyte ucFramingMode}
   {ubyte ucTxClockSource}
   {ubyte ucPathSignalLabel}
   {ubyte ucSPEScrambling}
   {ubyte ucSONETCountMode}
   {ulong ulErrorInjection}
   {ubyte*64 ucReserved}
}

struct_typedef NSCreateSubprocess {struct
   {ulong ulUserID}
   {ulong ulGroupID}
   {ushort uiModuleID}
   {ulong ulSharedMemKey}
   {ubyte*1024 ucCommand}
   {ubyte*50 ucReserved}
   {ulong ulSubprocessHandle}
}

struct_typedef NSReadWriteSubprocess {struct
   {ulong ulSubprocessHandle}
   {ulong ulBufferLen}
   {ubyte*1024 ucBuffer}
}

struct_typedef NSSignalSubprocess {struct
   {ulong ulSubprocessHandle}
   {ulong ulSignal}
}

struct_typedef NSSonetCounterInfo {struct
   {ushort uiAlarmCurrent}
   {ushort uiAlarmHistory}
   {ulong ulSectionBip8}
   {ulong ulLineBip24}
   {ulong ulLineFebe}
   {ulong ulPathBip8}
   {ulong ulPathFebe}
   {ushort uiSectionBip8Rate}
   {ushort uiLineBip24Rate}
   {ushort uiLineFebeRate}
   {ushort uiPathBip8Rate}
   {ushort uiPathFebeRate}
   {ubyte ucCurrentPathSignalLabel}
   {ubyte*64 ucReserved}
}

struct_typedef NSQuerySubprocess {struct
   {ulong ulSubprocessHandle}
   {ubyte ucExited}
   {ubyte ucSignaled}
   {ulong ulExitCode}
   {ulong ulTermSignal}
   {ubyte*2 ucReserved}
}

struct_typedef NSCaptureCountInfo {struct
   {ulong ulCount}
   {ubyte*16 ucReserved}
}

struct_typedef NSCaptureStatsInfo {struct
   {ulong ulIndex}
   {ulong ulLength}
   {ulong ulStatus}
   {U64 u64Timestamp}
   {ubyte ucPreambleCount}
   {ushort uiVPI}
   {ushort uiVCI}
   {ubyte*15 ucReserved}
}

struct_typedef NSCaptureDataInfo {struct
   {ulong ulFrameIndex}
   {ulong ulByteOffset}
   {ulong ulRequestedLength}
   {ulong ulRetrievedLength}
   {ubyte*16 ucReserved}
   {ubyte*2048 ucData}
}

struct_typedef NSStreamScheduleEntry {struct
   {ushort uiStreamIndex}
   {ushort uiRepeatCount}
}

struct_typedef NSDiffServ {struct
   {ubyte ucEnableOffsetFromIP}
   {ushort uiByteOffset}
   {ubyte*4 ucDestinationIP}
   {ubyte*20 ucReserved}
}

struct_typedef NSDiffServCounterInfo {struct
   {ULong*256 ulRxFrame}
}

struct_typedef NSPortTransmit {struct
   {ubyte ucTransmitMode}
   {ubyte ucScheduleMode}
   {ulong ulInterFrameGap}
   {ulong ulInterBurstGap}
   {ushort uiGapScale}
   {ulong ulBurstCount}
   {ulong ulMultiBurstCount}
   {ubyte ucRandomGapEnable}
   {ulong ulRandomSeed}
   {ulong ulMinRandomGap}
   {ulong ulMaxRandomGap}
   {ulong ulMinRandomLength}
   {ulong ulMaxRandomLength}
   {ubyte ucJumboFrameCountEnable}
   {ubyte ucIncrementEnable}
   {ushort uiMinIncrementLength}
   {ushort uiMaxIncrementLength}
   {ubyte*58 ucReserved}
}

struct_typedef NSCaptureSetup {struct
   {ulong ulCaptureMode}
   {ulong ulCaptureLength}
   {ulong ulCaptureEvents}
   {ushort uiFilterFrameLength}
   {ushort uiVPI}
   {ushort uiVCI}
   {ubyte*50 ucReserved}
}

struct_typedef NSPortAddress {struct
   {ubyte*6 ucMACAddress}
   {ubyte*4 ucIPAddress}
   {ubyte*4 ucNetmask}
   {ubyte*4 ucGateway}
   {ubyte*4 ucPingTargetAddress}
   {ushort uiVCI}
   {ushort uiControl}
   {ushort uiPingTime}
   {ushort uiSNMPTime}
   {ushort uiRIPTime}
   {ubyte*50 ucReserved}
}

struct_typedef NSFFSInfo {struct
   {ulong ulTotalBlocks}
   {ulong ulUsedBlocks}
   {ulong ulFreeBlocks}
   {ubyte*52 ucReserved}
}

struct_typedef NSSonetAlarmCounterInfo {struct
   {ushort uiAlarmCurrent}
   {ushort uiAlarmHistory}
   {ulong ulSectionBIP8}
   {ulong ulLineBIP24}
   {ulong ulLineFEBE}
   {ulong ulPathBIP8}
   {ulong ulPathFEBE}
   {ushort uiSectionBIP8Rate}
   {ushort uiLineBIP24Rate}
   {ushort uiLineFEBERate}
   {ushort uiPathBIP8Rate}
   {ushort uiPathFEBERate}
   {ubyte*64 ucReserved}
}

struct_typedef NSHistLatencyOverTime {struct
   {ulong ulInterval}
   {ubyte*16 ucReserved}
}

struct_typedef NSHistLatencyOverTimeInfo {struct
   {ulong ulMinLatency}
   {ulong ulMaxLatency}
   {U64 u64Total}
   {U64 u64Frames}
   {ubyte*128 ucReserved}
}

struct_typedef NSHistLatencyDistPerStream {struct
   {ULong*16 ulInterval}
   {ubyte*16 ucReserved}
}

struct_typedef NSHistComboPerStreamInfo {struct
   {ulong ulStreamID}
   {U64 u64Total}
   {ulong ulMinLatency}
   {ulong ulMaxLatency}
   {U64 u64TotalFrames}
   {U64 u64InSequence}
   {U64 u64Reserved}
   {U64 u64OutOfSequence}
   {U64*16 u64Frames}
   {ubyte*128 ucReserved}
}

struct_typedef NSHistLatencyDistPerStreamInfo {struct
   {ulong ulStream}
   {U64*16 u64Frames}
   {ubyte*128 ucReserved}
}

struct_typedef NSHistSequencePerStreamInfo {struct
   {ulong ulStream}
   {U64 u64TotalFrames}
   {U64 u64InSequence}
   {U64 u64OutOfSequence}
   {ulong ulReserved}
   {ubyte*128 ucReserved}
}

struct_typedef NSHistRawSignatureInfo {struct
   {ulong ulStream}
   {ulong ulSequence}
   {ulong ulTransmitTime}
   {ulong ulReceiveTime}
   {ubyte*128 ucReserved}
}

struct_typedef NSHistMulticastLatencyPerStreamInfo {struct
   {ulong ulStreamID}
   {U64 u64Total}
   {ulong ulMinLatency}
   {ulong ulMaxLatency}
   {U64 u64TotalFrames}
   {U64 u64FirstRxTime}
   {U64 u64LastRxTime}
   {U64*16 u64Frames}
   {ubyte*184 ucReserved}
}

struct_typedef NSDetailedLibVersionStructure {struct
   {byte*32 szDescription}
   {byte*32 szVersion}
   {ushort uiMajor}
   {ushort uiMinor}
   {ushort uiBuild}
   {ubyte ucReleaseStage}
   {ulong ulCompleteVersion}
}

struct_typedef NSErrorEntry {struct
   {ubyte ucCardNumber}
   {ubyte ucPortNumber}
   {ushort uiErrorCode}
   {byte*45 szErrorDescription}
}

struct_typedef NSErrorList {struct
   {ushort uiTotalError}
   {NSErrorEntry*10 pErrorEntryList}
}

struct_typedef NSHWConfig {struct
   {ubyte ucTimestampClockSource}
   {ubyte ucLaserMode}
   {ubyte*20 ucReserved}
}

struct_typedef NSCardHardwareInfo {struct
   {ushort uiRAMSize}
   {ubyte*126 ucReserved}
}


}

if {[info exists mplsitems_structs] == 0} then {
set mplsitems_structs 1

struct_typedef MPLSStart {struct
   {ulong ulPacketRate}
   {ubyte*8 ucReserved}
}

struct_typedef MPLSLSPNotComplete {struct
   {ulong ulCount}
}

struct_typedef MPLSRoutingDomain {struct
   {ulong ulOptions}
   {ubyte*4 ucLocalIPAddress}
   {ubyte*4 ucPeerIPAddress}
   {ubyte*4 ucLocalNetMask}
   {ulong ulMaxLSPRequest}
   {ulong ulMaxLSPDistribution}
   {ulong ulMeanRefreshInterval}
   {ushort uiRSVPRetransmitDelay}
   {ushort uiRSVPRetransmitDelta}
   {ushort uiRSVPMaxRetransmitCount}
   {ulong ulRoutingDomainIndex}
   {ULong*50 ulReserved}
}

struct_typedef MPLSRoutingDomainDeleteAll {struct
   {ulong ulPacketRate}
   {ulong ulLeaveLSPs}
   {ubyte*4 ucReserved}
}

struct_typedef MPLSObjectID {struct
   {ushort uiObjectType}
   {ushort uiObjectIndex}
}

struct_typedef MPLSLSP {struct
   {ulong ulRoutingDomainIndex}
   {ushort uiIngressLSPOptions}
   {ubyte*4 ucEgressIP}
   {ushort uiTunnelID}
   {ulong ulExtendedTunnelID}
   {ushort uiNumberOfObjects}
   {MPLSObjectID*10 ObjectList}
   {ulong ulLSPIndex}
   {ubyte*4 ucReserved}
}

struct_typedef MPLSLSPDeleteAll {struct
   {ulong ulPacketRate}
   {ubyte*4 ucReserved}
}

struct_typedef MPLSServiceObject {struct
   {ushort uiObjectType}
   {ushort uiMaxPacketSize}
   {ubyte ucCOS}
   {float fTokenBucketRate}
   {float fTokenBucketSize}
   {float fPeakDataRate}
   {ulong ulMinPoliceUnit}
   {float fRate}
   {ulong ulSlackTerm}
   {ulong ulServiceObjectID}
   {ubyte*32 ucReserved}
}

struct_typedef MPLSOpaqueObject {struct
   {ushort uiLength}
   {ubyte ucClassNumber}
   {ubyte ucClassType}
   {ubyte*128 ucContents}
   {ulong ulOpaqueObjectID}
   {ubyte*32 ucReserved}
}

struct_typedef MPLSAttributeObject {struct
   {ubyte ucSetupPriority}
   {ubyte ucHoldPriority}
   {ubyte ucOptions}
   {ubyte ucNameLength}
   {ubyte*100 ucName}
   {ulong ulAttributeObjectID}
   {ubyte*32 ucReserved}
}

struct_typedef MPLSExplicitObject {struct
   {ushort uiExplicitRouteType}
   {ubyte*16 ucIPAddress}
   {ubyte ucLoose}
   {ubyte ucPrefix}
   {ubyte ucFlags}
   {ulong ulExplicitObjectID}
   {ubyte*32 ucReserved}
}

struct_typedef MPLSLSPCopyDelta {struct
   {ubyte*4 ucEgressIp}
   {ulong ulExtendedTunnelID}
   {ushort uiTunnelID}
   {ubyte*50 ucReserved}
}

struct_typedef MPLSLabelDataInfo {struct
   {ulong ulLSPIndex}
   {ulong ulLabel}
}

struct_typedef MPLSRSVPCountInfo {struct
   {ulong ulType}
   {ulong ulResvIn}
   {ulong ulPathIn}
   {ulong ulResvTearIn}
   {ulong ulPathTearIn}
   {ulong ulResvErrorIn}
   {ulong ulPathErrorIn}
   {ulong ulAckIn}
   {ulong ulResvOut}
   {ulong ulPathOut}
   {ulong ulResvTearOut}
   {ulong ulPathTearOut}
   {ulong ulResvErrorOut}
   {ulong ulPathErrorOut}
   {ulong ulAckOut}
   {ulong ulLSPIngress}
   {ulong ulLSPEgress}
   {ulong ulLabelIn}
   {ulong ulLabelOut}
   {ulong ulCardTimeStamp}
   {ubyte*32 ucReserved}
}

struct_typedef MPLSLSPInfo {struct
   {ulong ulLabel}
   {ubyte ucStatus}
   {ubyte*7 ucReserved}
}

struct_typedef MPLSLSPBindStreams {struct
   {ushort uiStreamIndex}
}

struct_typedef MPLSObjectDelete {struct
   {ushort uiObjectType}
   {ubyte*4 ucReserved}
}

struct_typedef MPLSLSPCountInfo {struct
   {ulong ulLSPCount}
}

struct_typedef MPLSLDPTest {struct
   {ulong ulTest}
}


}

if {[info exists et1000_structs] == 0} then {
set et1000_structs 1

struct_typedef SetLatencyStructure {struct
   {int Hub}
   {int TransmitSlot}
   {Int*20 ReceiveSlot}
   {int Offset}
   {int Range}
   {ubyte*12 Pattern}
}


}

########################################
# additional Tcl data
########################################


# List of strings that Tcl SmartLib functions will interpret as NULL
# (case-insensitive):
set NullList {NULL 0}

# NSTCLIsNullString: Determine if the given string represents the
# value NULL.  Return 1 if so, 0 if not.
proc NSTCLIsNullString {szString} {

	 global NullList

	 # check for standard Tcl null string
	 if {$szString == ""} {
		  return 1
	 }
 	
	 # search previously specified list of other null strings
	 foreach szNullString $NullList {
		  if {[string tolower $szString] == [string tolower $szNullString]} {
				return 1
		  }
	 }

	 return 0
}

# Flag indicating whether auto-default mechanisms are enabled or
# disabled; this flag should only be manipulated through the
# NSEnableAutoDefaults and NSDisableAutoDefaults functions.
set bAutoDefaults 0


########################################
# additional Tcl procs
########################################


# Wrapper procs for SmartLib message functions.

proc HTSetStructure {iType1 iType2 iType3 iType4 szData uiLen iHub iSlot iPort args} {

	 return [HTMessageFunctionDefault "HTSetStructure" $iType1 $iType2 $iType3 $iType4 $szData $uiLen $iHub $iSlot $iPort $args]
}

proc HTSetCommand {iType1 iType2 iType3 iType4 szData iHub iSlot iPort args} {

	 return [HTMessageFunctionDefault "HTSetCommand" $iType1 $iType2 $iType3 $iType4 $szData 0 $iHub $iSlot $iPort $args]
}

proc HTGetStructure {iType1 iType2 iType3 iType4 szData uiLen iHub iSlot iPort} {

	 return [HTMessageFunctionDefault "HTGetStructure" $iType1 $iType2 $iType3 $iType4 $szData $uiLen $iHub $iSlot $iPort]
}

proc HTDefaultStructure {iType1 szData uiLen iHub iSlot iPort args} {

	 return [HTMessageFunctionDefault "HTDefaultStructure" $iType1 0 0 0 $szData $uiLen $iHub $iSlot $iPort $args]
}


# Functions to enable and disable the Tcl SmartLib's auto-default
# mechanisms.

proc NSEnableAutoDefaults {} {
	  
	 global bAutoDefaults

	 set bAutoDefaults 1
	 return 1
}

proc NSDisableAutoDefaults {} {

	 global bAutoDefaults

	 set bAutoDefaults 0
	 return 0
}


# THE FOLLOWING ARE INTERNAL UTILITY PROCS

# NSTCLGetArrayName: Return the variable name portion of a string
# representing an array variable reference.
proc NSTCLGetArrayName {szArrayString} {

	 set iParenIndex [expr [string first "(" $szArrayString] - 1]
	 if {$iParenIndex < 0} {
		  set iParenIndex end
	 }
	 return [string range $szArrayString 0 $iParenIndex]
}


# NSTCLGetArrayIndex: Return the array index portion of a string
# representing an array variable reference.
proc NSTCLGetArrayIndex {szArrayString} {

	 set iOpenIndex [string first "(" $szArrayString]
	 set iCloseIndex [string last ")" $szArrayString]
	 if {$iOpenIndex < 0 || $iCloseIndex < 0} {
		  return ""
	 }
	 return [string range $szArrayString [incr iOpenIndex] [incr iCloseIndex -1]]
}


# NSTCLGetArraySize: Return the array size of the given tclStruct variable.
# Return 0 if the variable is not an array.
proc NSTCLGetArraySize {szVarName} {

	 upvar $szVarName pLocalVar

	 if {[catch {
		  set iArraySize [expr [struct_info sizeof pLocalVar] / [struct_info sizeof pLocalVar(0)]]
	 }]} {
		  set iArraySize 0
	 }
	 return $iArraySize
}


# HTMessageFunctionDefault: general wrapper proc for SmartLib message
# functions which handles structure defaulting and extra parameters.
proc HTMessageFunctionDefault {szCommand iType1 iType2 iType3 iType4 szData uiLen iHub iSlot iPort args} {

	 global NSTCL_PARAMETER_RANGE
	 global bAutoDefaults

	 if {[catch {

		  # initialize variables
		  set szDataType ""
		  set szType ""
		  set bDefaultStructure 0
		  set bNull 0
		  set bUsingTemp 0
		  set iRtn 0

		  if {"HTDefaultStructure" == $szCommand} {
				set bDefaultStructure 1
		  }


		  ## 1. First determine the nature of the data parameter:
		  
		  # check for NULL
		  if {[NSTCLIsNullString $szData]} {
				
				set bNull 1

		  } elseif {$szData == "-"} {

				if {"HTDefaultStructure" == $szCommand || "HTGetStructure" == $szCommand} {
					 set iRtn $NSTCL_PARAMETER_RANGE
				}

				# if it's a dash, create a local structure of the appropriate type
				if {$iRtn >= 0} {
					 set iRtn [HTGetTypeStrings $iType1 $iHub $iSlot $iPort szType szDataType]
					 if {$iRtn >= 0} {
						  struct_new pData $szDataType
						  set bDefaultStructure 1
					 }
				}

		  } else {

				# use the variable in the outer scope
				
				set szArrayName [NSTCLGetArrayName $szData]
				set iArrayIndex [NSTCLGetArrayIndex $szData]

				# if we were passed a normal structure or an array of structures
				if {$iArrayIndex == ""} {

					 # just use it locally
					 upvar 2 $szArrayName pData

				} else { 

					 # it's a single element of an array--create a new
					 # local single variable
					 set bUsingTemp 1
					 set szType ""
					 set szDataType ""
					 set iRtn [HTGetTypeStrings $iType1 $iHub $iSlot $iPort szType szDataType]

					 if {$iRtn >= 0} {

						  struct_new pData $szDataType

						  # copy the array element to the new variable
						  upvar 2 $szArrayName pArray
						  struct_copy pData pArray($iArrayIndex)
					 }
				}

				if {$iRtn >= 0} {

					 # if it's not an existing Tcl variable, create it
					 if {![info exists pData]} {

						  if {$bAutoDefaults} {

								set iRtn [HTGetTypeStrings $iType1 $iHub $iSlot $iPort szType szDataType]

								if {$iRtn >= 0} {

									 # check if the structure type is NULL
									 if {$szDataType == 0} {
										  set bNull 1
									 
									 } else {
										  
										  # otherwise, create the variable
										  struct_new pData $szDataType
										  if {$szCommand != "HTGetStructure"} {
												set bDefaultStructure 1
										  }
									 }
								}
						  } else {

								# if auto-defaults is disabled
								set iRtn $NSTCL_PARAMETER_RANGE
						  }
					 }
				}
		  }


		  ## 2. Default the structure.

		  if {$iRtn >= 0} {
				if {$bDefaultStructure} {
					 set iRtn [HTDefaultStructureNS $iType1 pData $uiLen $iHub $iSlot $iPort]
				}
		  }


		  ## 3. Handle the additional arguments.

		  # parse argument list
		  if {$iRtn >= 0} {
				if {$szCommand != "HTGetStructure"} {
					 set ArgsList [expr $args]
					 for {set iArgIndex 0} {$iArgIndex < [llength $ArgsList]} {incr iArgIndex} {
						  if {[string first "-" [lindex $ArgsList $iArgIndex]] == 0} {
								set name [string trimleft [lindex $ArgsList $iArgIndex] "-"]
								
								# handle array case
								set iArraySize [NSTCLGetArraySize pData]
								if {0 == $iArraySize} {
									 set pData($name) [lindex $ArgsList [expr $iArgIndex + 1]]
								} else {
									 for {set iArrayIndex 0} {$iArrayIndex < $iArraySize} {incr iArrayIndex} {
										  set pData($iArrayIndex.$name) [lindex $ArgsList [expr $iArgIndex + 1]]
									 }
								}
						
						  }
					 }
				}
		  }
		  

		  ## 4. Call the "real" command.

		  if {$iRtn >= 0} {

				if {$bNull} {
					 set szSendData ""
				} else {
					 set szSendData pData
				}

				switch $szCommand {
					 "HTSetStructure" {
						  set iRtn [HTSetStructureNS $iType1 $iType2 $iType3 $iType4 $szSendData $uiLen $iHub $iSlot $iPort]
					 }
					 "HTSetCommand" {
						  set iRtn [HTSetCommandNS $iType1 $iType2 $iType3 $iType4 $szSendData $iHub $iSlot $iPort]
					 }
					 "HTGetStructure" {
						  set iRtn [HTGetStructureNS $iType1 $iType2 $iType3 $iType4 $szSendData $uiLen $iHub $iSlot $iPort]
					 }
					 "HTDefaultStructure" {
						  # since we've already defaulted the structure and set
						  # iRtn, do nothing now
					 }
					 default {
						  set iRtn $NSTCL_PARAMETER_RANGE
					 }
				}
		  }


		  ## 5. Copy changes back to the user's structure, if necessary.

		  if {$iRtn >= 0} {
				if {$bUsingTemp} {
					 struct_copy pArray($iArrayIndex) pData
				}
		  }
		  
	 }]} {

		  # catch any Tcl syntax errors 
		  return $NSTCL_PARAMETER_RANGE
	 }

	 if {[info exists iRtn]} {
		  return $iRtn
	 } else {
		  return $NSTCL_PARAMETER_RANGE
	 }
}

###########################################################
# LIBCMD:
# Outputs function name, arguments, and return value when
# function return code < 0.
###########################################################
proc LIBCMD {args} {
	set iResponse [uplevel $args]
	if {$iResponse < 0} {
		puts "$args :  $iResponse"
	}
	 return $iResponse
}

###########################################################
# LINKCMD:
# Outputs function name, arguments, and return value when
# function return code < 1.  To be used with ETLink and
# ETSocketLink.
###########################################################
proc LINKCMD {args} {
	 set iResponse [uplevel $args]
	 if {$iResponse < 1} {
		  puts "$args :  $iResponse"
	 }
	 return $iResponse
}

###########################################################
# DCMD:
# Outputs function name, arguments, and return value.
###########################################################
proc DCMD {args} {
	 set iResponse [uplevel $args]
	 puts "$args :  $iResponse"
	 return $iResponse
}

###########################################################
# GetVersions:
# Outputs SmartLibrary version and SmartBits controller
# firmware version.  Must be linked to get firmware
# version.
###########################################################
proc GetVersions {} {
	set szDescription ""
	set szVersion ""
	LIBCMD ETGetLibVersion szDescription szVersion
	puts ""
	puts -nonewline "Library:  "
	puts $szVersion
	LIBCMD ETGetFirmwareVersion szVersion
	puts -nonewline "Firmware: "
	puts $szVersion
	puts ""
}

###########################################################
# ConvertCtoI:
# Returns the integer value of the given character.
###########################################################
proc ConvertCtoI {cItem} {

	set iItem 0
	set cMin [format %c 0x00]
	set cMax [format %c 0xFF]

	if {$cItem == $cMin} {
		set iItem 0
	} elseif {$cItem == $cMax} {
		set iItem 255
	} else {
		scan $cItem %c iItem
	}

	return $iItem
}

###########################################################
# LoadLib:
# Sources the library file passed as the argument libfile 
# if a library file has not already been sourced; the 
# value for libfile can be either "smartlib.tcl" or 
# "et1000.tcl"; returns 0 for success, 1 for failure
###########################################################
proc LoadLib {libfile} {

    # Determine if the NSTclFile variable exists which indicates
    # that a library file has already been sourced; if it 
    # does not exist then source the library file, libfile
    if {[uplevel info exists NSTclFile]} {
        upvar NSTclFile NSTclFile
    } else {
        uplevel source $libfile
        return 0
    }

    # Determine if a compatible library file has already been sourced 
    switch -- $libfile {
        smartlib.tcl {
            # Determine if smartlib.tcl is the sourced library file; if not
            # return 1 to indicate an error
            if {$NSTclFile != "smartlib.tcl"} {
                puts "** ERROR ** Cannot source smartlib.tcl because $NSTclFile has already been sourced"
                return 1
	    } else {
                return 0
	    }         
	}

        et1000.tcl {
            # Determine if et1000.tcl is the sourced library file; if not 
            # return 1 to indicate an error 
            if {$NSTclFile != "et1000.tcl"} {
                puts "** ERROR ** Cannot source et1000.tcl because $NSTclFile has already been sourced"
                return 1
	    } else {
                return 0
	    }         
	}
        default {
            puts "** ERROR ** $libfile is not a recognized library file"
            return 0
	}
    }           
}                   
                    
                              
        
        


set szLibDesc ""
set szLibVer ""
ETGetLibVersion szLibDesc szLibVer
set szLibString "$szLibDesc $szLibVer"

}

